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 a215a535327924945a4d9f4beaa6d407590ecfd2..75f9fdd2052be79336fa32883e646def10835a75 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp |
@@ -23,12 +23,11 @@ |
list->AppendClipPathItem(clip_path_, true); |
} |
-int BeginClipPathDisplayItem::NumberOfSlowPaths() const { |
+void BeginClipPathDisplayItem::AnalyzeForGpuRasterization( |
+ SkPictureGpuAnalyzer& analyzer) 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 { |