Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2472133002: Pass min/max page scale to compositor from WebFrameWidget. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698