Index: third_party/WebKit/Source/core/inspector/DevToolsHost.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/DevToolsHost.cpp b/third_party/WebKit/Source/core/inspector/DevToolsHost.cpp |
index 6bf5d9434655c9d1ec650daac2aff691e8eb29fb..fc66082076b3aa6c414f6ca9d4db5f3be09f5e86 100644 |
--- a/third_party/WebKit/Source/core/inspector/DevToolsHost.cpp |
+++ b/third_party/WebKit/Source/core/inspector/DevToolsHost.cpp |
@@ -169,7 +169,7 @@ float DevToolsHost::zoomFactor() |
float zoomFactor = m_frontendFrame->pageZoomFactor(); |
// Cancel the device scale factor applied to the zoom factor in |
// use-zoom-for-dsf mode. |
- const HostWindow* hostWindow = m_frontendFrame->view()->hostWindow(); |
+ const HostWindow* hostWindow = m_frontendFrame->view()->getHostWindow(); |
float windowToViewportRatio = hostWindow->windowToViewportScalar(1.0f); |
return zoomFactor / windowToViewportRatio; |
} |