[Printing] Remove extra |askUserForSettingsReply()| call
After we migrated native side callback to |OnceCallback|, it exposed that we sometimes call |askUserForSettingsReply()| more than once. The |DCHECK(callback_)| in |PrintingContextAndroid::AskUserForSettingsReply| was violated. Since |Printingcontext.askUserForSettings()| will call |askUserForSettingsReply()| for sure, we don't need to call it in other places. This CL removes a call site of |askUserForSettingsReply| in |PrintingControllerImpl|. Bug: 863297 Change-Id: If1c34a4a89acaca461074231ab1bef8edef9baae Reviewed-on: https://chromium-review.googlesource.com/1161604 Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Reviewed-by:Changwan Ryu <changwan@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#582301}
Showing
Please register or sign in to comment