Chromium Code Reviews
DescriptionClear page-defined constraints when viewportEnabled setting becomes false.
Without this, the values in PageScaleConstraintsSet (and things derived from it
such as the main frame layout size) remain stale after the setting flip.
Dev tools emulation avoided this issue by calling WebViewImpl::disableViewport,
but the layout test runner uses auto-generated code to clear the viewportEnabled
setting (InternalSettingsGenerated::resetToConsistentState).
With this change, DevToolsEmulator can also tweak the setting directly.
BUG=571233, 591821
Committed: https://crrev.com/c2c57c405548a45113c00b198afa74dcacc982a2
Cr-Commit-Position: refs/heads/master@{#380888}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : address nit #
Messages
Total messages: 13 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||