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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInfo.h

Issue 1584903002: Improvement handling of background and outline paint phases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PaintPhaseRename
Patch Set: Fix TablePainter and TableRowPainter Created 4 years, 11 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/paint/PaintInfo.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInfo.h b/third_party/WebKit/Source/core/paint/PaintInfo.h
index fc5daf12052d18afd7f8d321527e3fe3a985fc6f..a424697f4a9534763f1b5d3ce7482162ce84d06a 100644
--- a/third_party/WebKit/Source/core/paint/PaintInfo.h
+++ b/third_party/WebKit/Source/core/paint/PaintInfo.h
@@ -79,9 +79,9 @@ struct CORE_EXPORT PaintInfo {
PaintInfo forDescendants() const
{
PaintInfo result(*this);
- if (phase == PaintPhaseDescendantOutlines)
+ if (phase == PaintPhaseDescendantOutlinesOnly)
result.phase = PaintPhaseOutline;
- else if (phase == PaintPhaseDescendantBlockBackgrounds)
+ else if (phase == PaintPhaseDescendantBlockBackgroundsOnly)
result.phase = PaintPhaseBlockBackground;
return result;
}

Powered by Google App Engine
This is Rietveld 408576698