Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
index 02f006286ce7ea2de3f4458a694f95dcd73513cf..0a4eb1f9cd68d6c82b51c011d190355663c885d7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
@@ -23,11 +23,12 @@ void BeginClipPathDisplayItem::appendToWebDisplayItemList( |
list->appendClipPathItem(m_clipPath, true); |
} |
-void BeginClipPathDisplayItem::analyzeForGpuRasterization( |
- SkPictureGpuAnalyzer& analyzer) const { |
+int BeginClipPathDisplayItem::numberOfSlowPaths() const { |
// Temporarily disabled (pref regressions due to GPU veto stickiness: |
// http://crbug.com/603969). |
// analyzer.analyzeClipPath(m_clipPath, SkRegion::kIntersect_Op, true); |
+ // TODO(enne): fixup this code to return an int. |
+ return 0; |
} |
void EndClipPathDisplayItem::replay(GraphicsContext& context) const { |