Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index e31f376f25eb0a06e309b7af5d06b40cff6b6573..b5c40d864e5d8b06d02d5d2d0182b96be4383abe 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -3593,8 +3593,8 @@ void RenderViewImpl::ZoomFactorHelper(content::PageZoom zoom, |
(zoom > 0 ? scaling_increment : -scaling_increment); |
} |
if (page_scale_factor > 0) { |
- webview()->scalePage(page_scale_factor, |
- WebPoint(zoom_center_x, zoom_center_y)); |
+ webview()->setPageScaleFactor(page_scale_factor, |
+ WebPoint(zoom_center_x, zoom_center_y)); |
} |
} |