DescriptionCall setUseMobileViewportStyle before setViewportEnabled
In order to avoid initialization of the preloadScanner with the wrong viewport dimensions, this CL moves the initialization of mobile viewport dimensions further up, so that they would happen before the viewport is initialized.
BUG=531820
Review URL: https://codereview.chromium.org/1392213002
Cr-Commit-Position: refs/heads/master@{#355041}
(cherry picked from commit a1a508b42224a697a0a621c36bfb55fe2f8bd760)
Committed: https://chromium.googlesource.com/chromium/src/+/5774a5164e0f9b35aa3a98b6375dc897881b2a44
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|