Index: cc/playback/display_item_list.cc |
diff --git a/cc/playback/display_item_list.cc b/cc/playback/display_item_list.cc |
index a0b3e710033e88ea73253a6c0e9ed49950432e33..721d87e3aa714bef1841749ad9d2380175426fd9 100644 |
--- a/cc/playback/display_item_list.cc |
+++ b/cc/playback/display_item_list.cc |
@@ -191,7 +191,7 @@ DisplayItemList::AsValue() const { |
scoped_refptr<base::trace_event::TracedValue> state = |
new base::trace_event::TracedValue(); |
- state->SetInteger("length", items_.size()); |
+ state->SetInteger("length", static_cast<int>(items_.size())); |
state->BeginArray("params.items"); |
for (const DisplayItem* item : items_) { |
item->AsValueInto(state.get()); |