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

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

Issue 2768143002: Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: more const casting 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 a9afcd15e089043f595870ddfccb7224403b832c..d5f344e605f4b55ad17dfdc5ccdad84f39636a49 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 "platform/wtf/text/WTFString.h"
#endif
-class SkPictureGpuAnalyzer;
-
namespace blink {
class GraphicsContext;
@@ -337,7 +335,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