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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp

Issue 2247543003: Tweak priorities of paint invalidation reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsRebaseline (for win and mac) Created 4 years, 4 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/layout/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index 03b79473ece791291c730efa8d808e6cb86a0767..d0e585f51a76e6b003f5a27bb108f1f5a84b0781 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -2062,13 +2062,13 @@ void LayoutBlockFlow::setShouldDoFullPaintInvalidationForFirstLine()
firstRootBox->setShouldDoFullPaintInvalidationRecursively();
}
-bool LayoutBlockFlow::paintedOutputOfObjectHasNoEffect() const
+bool LayoutBlockFlow::paintedOutputOfObjectHasNoEffectRegardlessOfSize() const
{
// LayoutBlockFlow is in charge of paint invalidation of the first line.
if (firstLineBox())
return false;
- return LayoutBlock::paintedOutputOfObjectHasNoEffect();
+ return LayoutBlock::paintedOutputOfObjectHasNoEffectRegardlessOfSize();
}
PaintInvalidationReason LayoutBlockFlow::invalidatePaintIfNeeded(const PaintInvalidationState& paintInvalidationState)

Powered by Google App Engine
This is Rietveld 408576698