Chromium Code Reviews| Index: Source/core/layout/PaintInvalidationState.h |
| diff --git a/Source/core/layout/PaintInvalidationState.h b/Source/core/layout/PaintInvalidationState.h |
| index c175dce32f7193a2bd6a13757e6781942c1a5e3f..02ebe4bbf1e468df64b8f00a4fe111de81453741 100644 |
| --- a/Source/core/layout/PaintInvalidationState.h |
| +++ b/Source/core/layout/PaintInvalidationState.h |
| @@ -36,8 +36,8 @@ public: |
| bool cachedOffsetsEnabled() const { return m_cachedOffsetsEnabled; } |
| bool isClipped() const { return m_clipped; } |
| - bool ancestorHadPaintInvalidationForLocationChange() const { return m_ancestorHadPaintInvalidationForLocationChange; } |
| - void setAncestorHadPaintInvalidationForLocationChange() { m_ancestorHadPaintInvalidationForLocationChange = true; } |
| + bool forcedPaintInvalidation() const { return m_forcedPaintInvalidation; } |
|
pdr.
2015/09/15 02:33:39
Bikeshed: wdyt about changing this to reflect that
fs
2015/09/15 08:44:35
Renamed to the latter.
|
| + void setForcePaintInvalidation() { m_forcedPaintInvalidation = true; } |
| const LayoutBoxModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; } |
| @@ -60,7 +60,7 @@ private: |
| bool m_clipped; |
| mutable bool m_cachedOffsetsEnabled; |
| - bool m_ancestorHadPaintInvalidationForLocationChange; |
| + bool m_forcedPaintInvalidation; |
| LayoutRect m_clipRect; |