Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
index 09dbf633de5a044fc8562ba5098ad90731426857..a5304a5a1b70948a6037fd3b4ad148f5e444ca70 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
@@ -18,6 +18,7 @@ |
#include "wtf/text/WTFString.h" |
#endif |
+class SkPictureGpuAnalyzer; |
namespace blink { |
@@ -350,6 +351,9 @@ public: |
virtual bool drawsContent() const { return false; } |
+ // Override to implement specific analysis strategies. |
+ virtual void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const { } |
+ |
#ifndef NDEBUG |
static WTF::String typeAsDebugString(DisplayItem::Type); |
const WTF::String clientDebugString() const { return m_clientDebugString; } |