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

Unified Diff: cc/playback/transform_display_item.cc

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clip recorder params in omnibox. Created 5 years, 1 month 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') | cc/test/fake_content_layer_client.cc » ('j') | 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 d0e7de79499c947f83661ad87370ea120d228d36..f841854f9d268311224fbc7010a16a28277c2794 100644
--- a/cc/playback/transform_display_item.cc
+++ b/cc/playback/transform_display_item.cc
@@ -51,9 +51,11 @@ void TransformDisplayItem::Raster(SkCanvas* canvas,
}
void TransformDisplayItem::AsValueInto(
+ const gfx::Rect& visual_rect,
base::trace_event::TracedValue* array) const {
- array->AppendString(base::StringPrintf("TransformDisplayItem transform: [%s]",
- transform_.ToString().c_str()));
+ array->AppendString(base::StringPrintf(
+ "TransformDisplayItem transform: [%s] visualRect: [%s]",
+ transform_.ToString().c_str(), visual_rect.ToString().c_str()));
}
EndTransformDisplayItem::EndTransformDisplayItem() {
@@ -80,8 +82,11 @@ void EndTransformDisplayItem::Raster(
}
void EndTransformDisplayItem::AsValueInto(
+ const gfx::Rect& visual_rect,
base::trace_event::TracedValue* array) const {
- array->AppendString("EndTransformDisplayItem");
+ 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') | cc/test/fake_content_layer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698