| Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.h
|
| diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
|
| index 11f0a306aedea2ec64ddff721b32b704971d9eb6..6963eadec76fa2d6b39a113068c2d5179069c2e7 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
|
| @@ -54,10 +54,11 @@ public:
|
|
|
| const LayoutBoxModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; }
|
|
|
| - bool canMapToContainer(const LayoutBoxModelObject* container) const
|
| + bool canMapToAncestor(const LayoutBoxModelObject* ancestor) const
|
| {
|
| - return m_cachedOffsetsEnabled && container == &m_paintInvalidationContainer;
|
| + return m_cachedOffsetsEnabled && ancestor == &m_paintInvalidationContainer;
|
| }
|
| + void mapObjectRectToAncestor(const LayoutObject&, const LayoutBoxModelObject* ancestor, LayoutRect&) const;
|
|
|
| // Records |obj| as needing paint invalidation on the next frame. See the definition of PaintInvalidationDelayedFull for more details.
|
| void pushDelayedPaintInvalidationTarget(LayoutObject& obj) { m_pendingDelayedPaintInvalidations.append(&obj); }
|
|
|