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

Unified Diff: cc/playback/transform_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/transform_display_item.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/transform_display_item.cc
diff --git a/cc/playback/transform_display_item.cc b/cc/playback/transform_display_item.cc
index 173170f731a98b62df17f75f2e022a00dfabd6ed..1ffe66a40d085ce6d53b1dbc4de9c354f5b04966 100644
--- a/cc/playback/transform_display_item.cc
+++ b/cc/playback/transform_display_item.cc
@@ -31,14 +31,6 @@ void TransformDisplayItem::Raster(SkCanvas* canvas,
canvas->concat(transform_.matrix());
}
-void TransformDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(base::StringPrintf(
- "TransformDisplayItem transform: [%s] visualRect: [%s]",
- transform_.ToString().c_str(), visual_rect.ToString().c_str()));
-}
-
EndTransformDisplayItem::EndTransformDisplayItem()
: DisplayItem(END_TRANSFORM) {}
@@ -51,12 +43,4 @@ void EndTransformDisplayItem::Raster(
canvas->restore();
}
-void EndTransformDisplayItem::AsValueInto(
- const gfx::Rect& visual_rect,
- base::trace_event::TracedValue* array) const {
- array->AppendString(
- base::StringPrintf("EndTransformDisplayItem visualRect: [%s]",
- visual_rect.ToString().c_str()));
-}
-
} // namespace cc
« no previous file with comments | « cc/playback/transform_display_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698