| Index: Source/platform/graphics/GraphicsLayerDebugInfo.h
|
| diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.h b/Source/platform/graphics/GraphicsLayerDebugInfo.h
|
| index 019e571a211fffe8baec51f4feed1d95262b213c..31b9c612e8c384657caa1eaa5c40f4475e01794d 100644
|
| --- a/Source/platform/graphics/GraphicsLayerDebugInfo.h
|
| +++ b/Source/platform/graphics/GraphicsLayerDebugInfo.h
|
| @@ -35,6 +35,7 @@
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "platform/graphics/CompositingReasons.h"
|
| #include "public/platform/WebGraphicsLayerDebugInfo.h"
|
| +#include "public/platform/WebInvalidationDebugAnnotations.h"
|
|
|
| #include "wtf/Vector.h"
|
|
|
| @@ -46,6 +47,7 @@ public:
|
| virtual ~GraphicsLayerDebugInfo();
|
|
|
| virtual void appendAsTraceFormat(WebString* out) const OVERRIDE;
|
| + virtual void getAnnotatedInvalidationRects(WebVector<WebAnnotatedInvalidationRect>& rects) const OVERRIDE;
|
|
|
| GraphicsLayerDebugInfo* clone() const;
|
|
|
| @@ -55,6 +57,9 @@ public:
|
| void setOwnerNodeId(int id) { m_ownerNodeId = id; }
|
| Vector<LayoutRect>& currentLayoutRects() { return m_currentLayoutRects; }
|
|
|
| + void appendAnnotatedInvalidateRect(const FloatRect&, WebInvalidationDebugAnnotations);
|
| + void clearAnnotatedInvalidateRects();
|
| +
|
| private:
|
| void appendLayoutRects(JSONObject*) const;
|
| void appendCompositingReasons(JSONObject*) const;
|
| @@ -65,6 +70,7 @@ private:
|
| CompositingReasons m_compositingReasons;
|
| int m_ownerNodeId;
|
| Vector<LayoutRect> m_currentLayoutRects;
|
| + Vector<WebAnnotatedInvalidationRect> m_invalidations;
|
| };
|
|
|
| } // namespace blink
|
|
|