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

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

Issue 1798263002: Rename isTreatedAsOrStackingContext to isStacked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows compile Created 4 years, 9 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/ObjectPainter.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.h b/third_party/WebKit/Source/core/paint/ObjectPainter.h
index 539ebb87b4fae227743d02befc917b8c9783e207..3625eee0f5822bb335a7ec43f0b1b059915f04a9 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.h
@@ -38,10 +38,12 @@ public:
// - flex items (http://www.w3.org/TR/css-flexbox-1/#painting),
// - grid items (http://www.w3.org/TR/css-grid-1/#z-order),
// - custom scrollbar parts.
+ // Also see https://chromium.googlesource.com/chromium/src.git/+/master/third_party/WebKit/Source/core/paint/README.md.
+ //
// It is expected that the caller will call this function independent of the value of paintInfo.phase,
// and this function will do atomic paint (for PaintPhaseForeground), normal paint (for PaintPhaseSelection
// and PaintPhaseTextClip) or nothing (other paint phases) according to paintInfo.phase.
- void paintAsPseudoStackingContext(const PaintInfo&, const LayoutPoint& paintOffset);
+ void paintAllPhasesAtomically(const PaintInfo&, const LayoutPoint& paintOffset);
private:
static void drawDashedOrDottedBoxSide(GraphicsContext&, int x1, int y1, int x2, int y2,
« no previous file with comments | « third_party/WebKit/Source/core/paint/GridPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ObjectPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698