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

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

Issue 2713773003: Add test for paint underinvalidation fix with animated transform overflow. (Closed)
Patch Set: Set style attribute in test Created 3 years, 10 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
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index b6c042fcd211d3e90e106e784d975c36212109a2..fe799000554f706c7a2e150748000ad7f6f87733 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -835,8 +835,7 @@ void FrameView::recalcOverflowAfterStyleChange() {
return;
// If the visualViewport supplies scrollbars, we won't get a paint
- // invalidation from computeScrollbarExistence so we need to force one
- // TODO(bokan): We should avoid computeScrollbarExistence otherwise.
+ // invalidation from computeScrollbarExistence so we need to force one.
if (visualViewportSuppliesScrollbars())
layoutViewItem.setMayNeedPaintInvalidation();
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698