Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 5ec3340c2b93f130642120bea15e2d3c7758d424..72f298f339da3eee1450084730d75e4dbc5cc654 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -46,6 +46,7 @@ |
#include "platform/geometry/FloatQuad.h" |
#include "platform/geometry/LayoutRect.h" |
#include "platform/graphics/CompositingReasons.h" |
+#include "platform/graphics/InvalidationDebugging.h" |
#include "platform/graphics/PaintInvalidationReason.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
#include "platform/transforms/TransformationMatrix.h" |
@@ -192,7 +193,8 @@ const int showTreeCharacterOffset = 39; |
// |
// See the individual getters below for more details about what each width is. |
class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
- public DisplayItemClient { |
+ public DisplayItemClient, |
+ public InvalidationDebugging { |
friend class LayoutObjectChildList; |
FRIEND_TEST_ALL_PREFIXES(LayoutObjectTest, MutableForPaintingClearPaintFlags); |
friend class VisualRectMappingTest; |
@@ -216,6 +218,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
LayoutRect visualRect() const override; |
String debugName() const final; |
+ // InvalidationDebugging methods. |
+ String invalidationName() const final; |
+ |
LayoutObject* parent() const { return m_parent; } |
bool isDescendantOf(const LayoutObject*) const; |