Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| index 804f75d88c2f34fe3eaec5c1db5239ab51cbd93e..1749daea9108bbc7b5c6abdfbea8d41f520d06a2 100644 |
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| @@ -261,8 +261,8 @@ void WebFrameWidgetImpl::updateLayerTreeViewport() { |
| if (!page() || !m_layerTreeView) |
| return; |
| - // FIXME: We need access to page scale information from the WebView. |
| - m_layerTreeView->setPageScaleFactorAndLimits(1, 1, 1); |
| + m_layerTreeView->setPageScaleFactorAndLimits( |
| + 1, view()->minimumPageScaleFactor(), view()->maximumPageScaleFactor()); |
|
bokan
2016/11/03 14:55:50
Is it ok that we'll be clobbering the page scale f
|
| } |
| void WebFrameWidgetImpl::updateLayerTreeBackgroundColor() { |