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

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

Issue 2816873002: Update PaintLayer size during layout, not after.
Patch Set: Speculatively remove call to UpdateScrollbars() Created 3 years, 8 months 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 | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 0713ecee5c17038f133aa7dc76d63356d94d4a17..f9dcfdaf9510e277634a6ad197200242fe375b4e 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -624,6 +624,10 @@ float ChromeClientImpl::ClampPageScaleFactorToLimits(float scale) const {
return web_view_->ClampPageScaleFactorToLimits(scale);
}
+void ChromeClientImpl::ResizeAfterLayout(LocalFrame* frame) const {
+ web_view_->ResizeAfterLayout(WebLocalFrameImpl::FromFrame(frame));
+}
+
void ChromeClientImpl::LayoutUpdated(LocalFrame* frame) const {
web_view_->LayoutUpdated(WebLocalFrameImpl::FromFrame(frame));
}
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698