Index: third_party/WebKit/Source/core/style/StyleDifference.h |
diff --git a/third_party/WebKit/Source/core/style/StyleDifference.h b/third_party/WebKit/Source/core/style/StyleDifference.h |
index e5adf279e1329b1937ca0125b8a254bec9035230..6b4603096f60de5e25fea2efe592322e22b9552f 100644 |
--- a/third_party/WebKit/Source/core/style/StyleDifference.h |
+++ b/third_party/WebKit/Source/core/style/StyleDifference.h |
@@ -45,13 +45,13 @@ public: |
bool needsPaintInvalidationObject() const { return m_paintInvalidationType == PaintInvalidationObject; } |
void setNeedsPaintInvalidationObject() |
{ |
- ASSERT(!needsPaintInvalidationLayer()); |
+ ASSERT(!needsPaintInvalidationSubtree()); |
m_paintInvalidationType = PaintInvalidationObject; |
} |
- // The layer and its descendant layers need to issue paint invalidations. |
- bool needsPaintInvalidationLayer() const { return m_paintInvalidationType == PaintInvalidationLayer; } |
- void setNeedsPaintInvalidationLayer() { m_paintInvalidationType = PaintInvalidationLayer; } |
+ // The object and its descendants need to issue paint invalidations. |
+ bool needsPaintInvalidationSubtree() const { return m_paintInvalidationType == PaintInvalidationSubtree; } |
+ void setNeedsPaintInvalidationSubtree() { m_paintInvalidationType = PaintInvalidationSubtree; } |
bool needsLayout() const { return m_layoutType != NoLayout; } |
void clearNeedsLayout() { m_layoutType = NoLayout; } |
@@ -92,7 +92,7 @@ private: |
enum PaintInvalidationType { |
NoPaintInvalidation = 0, |
PaintInvalidationObject, |
- PaintInvalidationLayer |
+ PaintInvalidationSubtree |
}; |
unsigned m_paintInvalidationType : 2; |