The property you mention does not hold for definite integrals.
The lecturer proved a theorem in class, however I have found a step that he did redundant. But maybe I don't understand what he tried to do there. I uploaded the file.
(The subject is Uniform convergece)
Appreciate if someone can tell me why he did what he did.Thanks!!