Index: third_party/WebKit/Source/core/dom/ViewportDescription.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ViewportDescription.cpp b/third_party/WebKit/Source/core/dom/ViewportDescription.cpp |
index 8fd6d2414978b3a0b07e77db97dc5d738755dab7..d453242bb642a5613252c77cebfdfecd6e683f51 100644 |
--- a/third_party/WebKit/Source/core/dom/ViewportDescription.cpp |
+++ b/third_party/WebKit/Source/core/dom/ViewportDescription.cpp |
@@ -256,9 +256,7 @@ void ViewportDescription::reportMobilePageStats(const LocalFrame* mainFrame) con |
bool ViewportDescription::matchesHeuristicsForGpuRasterization() const |
{ |
- return maxWidth == Length(DeviceWidth) |
- && minZoom == 1.0 |
- && minZoomIsExplicit; |
+ return isSpecifiedByAuthor(); |
} |
} // namespace blink |