Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Unified Diff: Source/core/dom/Document.cpp

Issue 1328553003: Store parsed meta viewport even when it's currently disabled. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/inspector/device-emulation/device-emulation-test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index fe49f47d371e50798ab53f7ac76a6b6437f71b0b..1ff568440ff0a9c99181b8337844370cd05ebc78 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -3046,9 +3046,6 @@ void Document::setViewportDescription(const ViewportDescription& viewportDescrip
m_viewportDefaultMinWidth = viewportDescription.minWidth;
if (viewportDescription.isLegacyViewportType()) {
- if (settings() && !settings()->viewportMetaEnabled())
- return;
-
m_legacyViewportDescription = viewportDescription;
// When no author style for @viewport is present, and a meta tag for defining
« no previous file with comments | « LayoutTests/inspector/device-emulation/device-emulation-test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698