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