| Index: Source/core/dom/ViewportDescription.cpp
|
| diff --git a/Source/core/dom/ViewportDescription.cpp b/Source/core/dom/ViewportDescription.cpp
|
| index c0b773a8d31c5ed6ce13b645ff223ac358bb2a44..82f16cb93b54d0ed9099472f4257a9ca4ec80371 100644
|
| --- a/Source/core/dom/ViewportDescription.cpp
|
| +++ b/Source/core/dom/ViewportDescription.cpp
|
| @@ -238,9 +238,7 @@ void ViewportDescription::reportMobilePageStats(const LocalFrame* mainFrame) con
|
| // To get an idea of how "far" the viewport is from the device's ideal width, we
|
| // report the zoom level that we'd need to be at for the entire page to be visible.
|
| int viewportWidth = maxWidth.intValue();
|
| - int windowWidth = mainFrame->document()->settings()->pinchVirtualViewportEnabled()
|
| - ? mainFrame->host()->pinchViewport().size().width()
|
| - : mainFrame->view()->frameRect().width();
|
| + int windowWidth = mainFrame->host()->pinchViewport().size().width();
|
| int overviewZoomPercent = 100 * windowWidth / static_cast<float>(viewportWidth);
|
| Platform::current()->histogramSparse("Viewport.OverviewZoom", overviewZoomPercent);
|
| }
|
|
|