| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index f7dc5c041d91a896b180cbc31c47a3c389e76f2e..b8f0049bb20c97bc601850201760c21ceed7ee33 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -2928,6 +2928,9 @@ bool Document::shouldMergeWithLegacyDescription(ViewportDescription::Type origin
|
| void Document::setViewportDescription(const ViewportDescription& viewportDescription)
|
| {
|
| 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
|
|
|