| Index: content/browser/renderer_host/render_widget_host_view_base.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
|
| index 23ebf837e36bbab83b0fdaa1ec25c9eba43e486f..689221dfebbf62191206820777ea14be8aaafae4 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_base.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_base.cc
|
| @@ -295,6 +295,15 @@ void RenderWidgetHostViewBase::DidUnregisterFromTextInputManager(
|
| text_input_manager_ = nullptr;
|
| }
|
|
|
| +void RenderWidgetHostViewBase::SetPageScaleFactorForSubframes(
|
| + float page_scale) {
|
| + RenderWidgetHostImpl* host =
|
| + RenderWidgetHostImpl::From(GetRenderWidgetHost());
|
| +
|
| + if (host && host->delegate())
|
| + host->delegate()->SetPageScaleFactorForSubframes(page_scale);
|
| +}
|
| +
|
| base::WeakPtr<RenderWidgetHostViewBase> RenderWidgetHostViewBase::GetWeakPtr() {
|
| return weak_factory_.GetWeakPtr();
|
| }
|
|
|