[Print] Cleanup null check and Android version checks
With https://crrev/c/1925239, PrintingControllerImpl.getInstance() will always give an non-null instance, we don't need to check if it is null or not anymore. Chrome for Android doesn't support less than KitKat, so we could remove few checks and annotations now. Bug: None Test: Current tests should pass, manually tested window.print() and share Test: menu code paths. Change-Id: Ia0a9e41c0eef6d693b39547646e462bb4af4292c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928629Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Cr-Commit-Position: refs/heads/master@{#720732}
Showing
Please register or sign in to comment