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

Unified Diff: cc/playback/float_clip_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/float_clip_display_item.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/float_clip_display_item.cc
diff --git a/cc/playback/float_clip_display_item.cc b/cc/playback/float_clip_display_item.cc
index 648bb0a315f0febd70ea797b4365f207c860e51b..39ae923dd47cc939c568ff06ba9bcc4d8ffab0c5 100644
--- a/cc/playback/float_clip_display_item.cc
+++ b/cc/playback/float_clip_display_item.cc
@@ -31,14 +31,6 @@ void FloatClipDisplayItem::Raster(SkCanvas* canvas,
canvas->clipRect(gfx::RectFToSkRect(clip_rect_));
}
-void FloatClipDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(base::StringPrintf(
- "FloatClipDisplayItem rect: [%s] visualRect: [%s]",
- clip_rect_.ToString().c_str(), visual_rect.ToString().c_str()));
-}
-
EndFloatClipDisplayItem::EndFloatClipDisplayItem()
: DisplayItem(END_FLOAT_CLIP) {}
@@ -51,12 +43,4 @@ void EndFloatClipDisplayItem::Raster(
canvas->restore();
}
-void EndFloatClipDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(
- base::StringPrintf("EndFloatClipDisplayItem visualRect: [%s]",
- visual_rect.ToString().c_str()));
-}
-
} // namespace cc
« no previous file with comments | « cc/playback/float_clip_display_item.h ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698