| 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 d5f344e605f4b55ad17dfdc5ccdad84f39636a49..a9afcd15e089043f595870ddfccb7224403b832c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
|
| @@ -16,6 +16,8 @@
|
| #include "platform/wtf/text/StringBuilder.h"
|
| #include "platform/wtf/text/WTFString.h"
|
| #endif
|
| +
|
| +class SkPictureGpuAnalyzer;
|
|
|
| namespace blink {
|
|
|
| @@ -335,7 +337,7 @@
|
| virtual bool DrawsContent() const { return false; }
|
|
|
| // Override to implement specific analysis strategies.
|
| - virtual int NumberOfSlowPaths() const { return 0; }
|
| + virtual void AnalyzeForGpuRasterization(SkPictureGpuAnalyzer&) const {}
|
|
|
| #ifndef NDEBUG
|
| static WTF::String TypeAsDebugString(DisplayItem::Type);
|
|
|