| Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| index 8044c7f8b83101124fc07e65861fe2f281fd770c..d743b7a75c7dcfa5bf34314d3a592dca0abd5d31 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp
|
| @@ -181,9 +181,7 @@ bool hasOpenGraphArticle(const Element& head) {
|
| }
|
|
|
| bool isMobileFriendly(Document& document) {
|
| - if (FrameHost* frameHost = document.frameHost())
|
| - return frameHost->visualViewport().shouldDisableDesktopWorkarounds();
|
| - return false;
|
| + return document.viewportDescription().isSpecifiedByAuthor();
|
| }
|
|
|
| } // namespace
|
|
|