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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp

Issue 2497413002: Remove logic forcing paint invalidation with non-composited scrollbars (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 | « third_party/WebKit/LayoutTests/paint/invalidation/scrollbar-invalidation-on-resize-with-border-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
index 2403781b7606c0b07fc1cddc6c7bb39693b1a6e8..a97bd7d22720ecf4d17918d77bc6d24471214cd7 100644
--- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
@@ -182,9 +182,6 @@ PaintInvalidationReason BoxPaintInvalidator::computePaintInvalidationReason() {
DCHECK(borderBoxChanged);
- if (m_box.hasNonCompositedScrollbars())
- return PaintInvalidationBorderBoxChange;
-
if (style.hasVisualOverflowingEffect() || style.hasAppearance() ||
style.hasFilterInducingProperty() || style.resize() != RESIZE_NONE ||
style.hasMask())
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/invalidation/scrollbar-invalidation-on-resize-with-border-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698