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

Unified Diff: cc/playback/clip_path_display_item.cc

Issue 2747273002: cc: Remove AsValue virtual from DisplayItem. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « cc/playback/clip_path_display_item.h ('k') | cc/playback/compositing_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_path_display_item.cc
diff --git a/cc/playback/clip_path_display_item.cc b/cc/playback/clip_path_display_item.cc
index c7bbcce7d28fb2b5e25671b63f00930b7a0887cb..8f87c8cf5a3fb7b87b4f12aab337deba20bb75bc 100644
--- a/cc/playback/clip_path_display_item.cc
+++ b/cc/playback/clip_path_display_item.cc
@@ -34,14 +34,6 @@ void ClipPathDisplayItem::Raster(SkCanvas* canvas,
canvas->clipPath(clip_path_, antialias_);
}
-void ClipPathDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(base::StringPrintf(
- "ClipPathDisplayItem length: %d visualRect: [%s]",
- clip_path_.countPoints(), visual_rect.ToString().c_str()));
-}
-
EndClipPathDisplayItem::EndClipPathDisplayItem() : DisplayItem(END_CLIP_PATH) {}
EndClipPathDisplayItem::~EndClipPathDisplayItem() {
@@ -53,12 +45,4 @@ void EndClipPathDisplayItem::Raster(
canvas->restore();
}
-void EndClipPathDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(
- base::StringPrintf("EndClipPathDisplayItem visualRect: [%s]",
- visual_rect.ToString().c_str()));
-}
-
} // namespace cc
« no previous file with comments | « cc/playback/clip_path_display_item.h ('k') | cc/playback/compositing_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698