Chromium Code Reviews

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

Issue 2768143002: Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: Rebase, move slow path counting Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 90d9449e1ac54dc86e2d5070de0884c9a59216d2..1c48c01d93446a5c514e3c5cd1b626b293dd5c08 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;
@@ -357,7 +355,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