Remove some unneeded checks in PrintManager subclasses.
AwPrintManager and PrintViewManagerBasic are the only subclasses of PrintManager that use |pdf_writing_done_callback_|. The two classes do not interact with one another, and no other code changes |pdf_writing_done_callback_|. Given this, since both classes initializes |pdf_writing_done_callback_|, there is no need to check if the callback is null. Change-Id: I73c8a309e3cb7fde0286950e0ef2be2211881373 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885108 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#710494}
Showing
Please register or sign in to comment