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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 250773002: Reland "Recompute overflow after transform changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@build_hack
Patch Set: again... Created 6 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 | « Source/core/frame/FrameView.h ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index af390ad8c9c7110e4fffca30a13e4adbfb81f5f4..158285795c125d4e7a301ff0a4699e72c34b2490 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -616,6 +616,19 @@ void FrameView::updateAcceleratedCompositingSettings()
renderView->compositor()->updateAcceleratedCompositingSettings();
}
+void FrameView::recalcOverflowAfterStyleChange()
+{
+ RenderView* renderView = this->renderView();
+ ASSERT(renderView);
+ if (!renderView->needsOverflowRecalcAfterStyleChange())
+ return;
+
+ renderView->recalcOverflowAfterStyleChange();
+
+ // FIXME: We should adjust frame scrollbar here, but that will make many
+ // tests flake in debug build.
+}
+
void FrameView::updateCompositingLayersAfterStyleChange()
{
RenderView* renderView = this->renderView();
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698