PDF Viewer: Remove logic for topToolbarHeight in new Viewport class.
When PDFViewerUpdate is on, |topToolbarHeight| is always zero. The code that uses |topToolbarHeight| in calculations is effectively a no-op and can be deleted. This CL reverts a subset of the changes in r789720, as they are no longer needed. Bug: None Change-Id: Icd6a6b7b91ae2137e9a81dd68c3c53ad031a3840 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2541607Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Auto-Submit: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#828298}
Showing
Please register or sign in to comment