Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 2768143002: Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: More unit tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 db334f2df4e0d3dc8988514ce80ddb0663a6dac3..97fae12888d8eeeadc76f8cffff591ca2d092b86 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -17,8 +17,6 @@
#include "wtf/text/WTFString.h"
#endif
-class SkPictureGpuAnalyzer;
-
namespace blink {
class GraphicsContext;
@@ -353,7 +351,7 @@ class PLATFORM_EXPORT DisplayItem {
virtual bool drawsContent() const { return false; }
// Override to implement specific analysis strategies.
- virtual void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const {}
+ virtual int numberOfSlowPaths() const { return 0; }
#ifndef NDEBUG
static WTF::String typeAsDebugString(DisplayItem::Type);

Powered by Google App Engine
This is Rietveld 408576698