| 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..5011c431b72be6420dadbd259e2d568942383938 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -261,8 +261,10 @@ 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);
|
| + // Pass the limits even though this is for subframes, as the limits will be
|
| + // needed in setting the raster scale.
|
| + m_layerTreeView->setPageScaleFactorAndLimits(
|
| + 1, view()->minimumPageScaleFactor(), view()->maximumPageScaleFactor());
|
| }
|
|
|
| void WebFrameWidgetImpl::updateLayerTreeBackgroundColor() {
|
|
|