Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index d98c72861c50325c9db9510eef9914e7854eba56..01976c602ab3080c1ff72d4997ba3a279e81da27 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -627,6 +627,10 @@ public: |
void setNeedsPaintPhaseDescendantOutlines() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseDescendantOutlines = true; } |
void clearNeedsPaintPhaseDescendantOutlines() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseDescendantOutlines = false; } |
+ bool needsPaintPhaseFloat() const { return m_needsPaintPhaseFloat; } |
+ void setNeedsPaintPhaseFloat() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseFloat = true; } |
+ void clearNeedsPaintPhaseFloat() { ASSERT(isSelfPaintingLayer()); m_needsPaintPhaseFloat = false; } |
+ |
PaintTiming* paintTiming(); |
private: |
@@ -760,6 +764,7 @@ private: |
unsigned m_previousPaintResult : 1; // PaintLayerPainter::PaintResult |
unsigned m_needsPaintPhaseDescendantOutlines : 1; |
+ unsigned m_needsPaintPhaseFloat : 1; |
chrishtr
2016/01/21 22:09:08
Add a test like this one?
https://code.google.com
Xianzhu
2016/01/21 23:58:35
Done (https://codereview.chromium.org/1616193002/)
|
LayoutBoxModelObject* m_layoutObject; |