| Index: sky/engine/core/dom/ViewportDescription.cpp
|
| diff --git a/sky/engine/core/dom/ViewportDescription.cpp b/sky/engine/core/dom/ViewportDescription.cpp
|
| index f463f6f8c8ae32d2b2e417c3f201af17d79b9274..e8fd88eaaf883f36668072f9dd72f01308ae64f5 100644
|
| --- a/sky/engine/core/dom/ViewportDescription.cpp
|
| +++ b/sky/engine/core/dom/ViewportDescription.cpp
|
| @@ -99,9 +99,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->view()->frameRect().width();
|
| int overviewZoomPercent = 100 * windowWidth / static_cast<float>(viewportWidth);
|
| Platform::current()->histogramSparse("Viewport.OverviewZoom", overviewZoomPercent);
|
| }
|
|
|