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 c74d1c3586ea212a137da11abcd5fb133141cb98..2b7d96fdf18d0c0d1458041c92f53607419da165 100644 |
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.h |
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.h |
@@ -45,17 +45,20 @@ class ObjectPainter { |
bool antialias = false); |
// Paints the object atomically as if it created a new stacking context, for: |
- // - inline blocks, inline tables, inline-level replaced elements (Section 7.2.1.4 in |
+ // - inline blocks, inline tables, inline-level replaced elements (Section |
+ // 7.2.1.4 in http://www.w3.org/TR/CSS2/zindex.html#painting-order), |
+ // - non-positioned floating objects (Section 5 in |
// http://www.w3.org/TR/CSS2/zindex.html#painting-order), |
- // - non-positioned floating objects (Section 5 in http://www.w3.org/TR/CSS2/zindex.html#painting-order), |
// - 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. |
+ // Also see 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. |
+ // 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 paintAllPhasesAtomically(const PaintInfo&, |
const LayoutPoint& paintOffset); |