Index: android_webview/browser/browser_view_renderer_impl.cc |
diff --git a/android_webview/browser/browser_view_renderer_impl.cc b/android_webview/browser/browser_view_renderer_impl.cc |
index 83fc87d8578d685df47b3dae52e7cac5e145016a..6ace7ec444806c362d05c0d00dad0e98511e3539 100644 |
--- a/android_webview/browser/browser_view_renderer_impl.cc |
+++ b/android_webview/browser/browser_view_renderer_impl.cc |
@@ -476,6 +476,17 @@ void BrowserViewRendererImpl::OnPictureUpdated(int process_id, |
Invalidate(); |
} |
+void BrowserViewRendererImpl::OnPageScaleFactorChanged( |
+ int process_id, |
+ int render_view_id, |
+ float page_scale_factor) { |
+ CHECK_EQ(web_contents_->GetRenderProcessHost()->GetID(), process_id); |
+ if (render_view_id != web_contents_->GetRoutingID()) |
+ return; |
+ |
+ client_->OnPageScaleFactorChanged(page_scale_factor); |
+} |
+ |
void BrowserViewRendererImpl::SetCompositorVisibility(bool visible) { |
if (compositor_visible_ != visible) { |
compositor_visible_ = visible; |