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

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

Issue 2768143002: Back PaintRecord with PaintOpBuffer instead of SkPicture (Closed)
Patch Set: vmpstr review, fix mac theme issuesa 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 066928e45db84bd9abc1c627f49e9b741edc44e2..c8e5a9c19368fd1c0d5751ccb9b9d94082eef128 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;
@@ -345,7 +343,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