| Index: content/renderer/gpu/render_widget_compositor.cc
|
| diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
|
| index 344f7abe32216e72faa5b61efe5fc18be3e4cd0e..ba927c9196d589858c985997a46842dd6221dcc6 100644
|
| --- a/content/renderer/gpu/render_widget_compositor.cc
|
| +++ b/content/renderer/gpu/render_widget_compositor.cc
|
| @@ -727,6 +727,14 @@ void RenderWidgetCompositor::setVisible(bool visible) {
|
| layer_tree_host_->SetVisible(visible);
|
| }
|
|
|
| +float RenderWidgetCompositor::pageScaleFactor() {
|
| + return layer_tree_host()->GetLayerTree()->page_scale_factor();
|
| +}
|
| +
|
| +void RenderWidgetCompositor::SetPageScaleFactorForSubframe(float scale) {
|
| + layer_tree_host()->GetLayerTree()->SetSubframePageScaleFactor(scale);
|
| +}
|
| +
|
| void RenderWidgetCompositor::setPageScaleFactorAndLimits(
|
| float page_scale_factor, float minimum, float maximum) {
|
| layer_tree_host_->GetLayerTree()->SetPageScaleFactorAndLimits(
|
|
|