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 9b2f13849e59d7bfe4f08aa7ee4330126e3011d2..21725640e9e82d28a7bab19ff8fa0a64e1fad010 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInfo.h |
+++ b/third_party/WebKit/Source/core/paint/PaintInfo.h |
@@ -55,6 +55,7 @@ struct PaintInfo { |
, rect(newRect) |
, phase(newPhase) |
, paintingRoot(newPaintingRoot) |
+ , paintInvalidationState(nullptr) |
, m_paintContainer(newPaintContainer) |
, m_paintFlags(paintFlags) |
, m_globalPaintFlags(globalPaintFlags) |
@@ -109,6 +110,8 @@ struct PaintInfo { |
IntRect rect; // dirty rect used for culling non-intersecting layoutObjects |
PaintPhase phase; |
LayoutObject* paintingRoot; // used to draw just one element and its visual kids |
+ // TODO(wangxianzhu): Populate it. |
+ PaintInvalidationState* paintInvalidationState; |
private: |
const LayoutBoxModelObject* m_paintContainer; // the box model object that originates the current painting |