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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.cpp

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/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 75f9fdd2052be79336fa32883e646def10835a75..a215a535327924945a4d9f4beaa6d407590ecfd2 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(clip_path_, 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 {

Powered by Google App Engine
This is Rietveld 408576698