| Index: cc/debug/traced_value.cc
|
| diff --git a/cc/debug/traced_value.cc b/cc/debug/traced_value.cc
|
| index 72b7ff341e138c11fb786eb0a3b84039c13648a8..c2ac7f551016147e737268641583e31eba5824a5 100644
|
| --- a/cc/debug/traced_value.cc
|
| +++ b/cc/debug/traced_value.cc
|
| @@ -9,29 +9,31 @@
|
|
|
| namespace cc {
|
|
|
| -void TracedValue::AppendIDRef(const void* id, base::debug::TracedValue* state) {
|
| +void TracedValue::AppendIDRef(const void* id,
|
| + base::trace_event::TracedValue* state) {
|
| state->BeginDictionary();
|
| state->SetString("id_ref", base::StringPrintf("%p", id));
|
| state->EndDictionary();
|
| }
|
|
|
| void TracedValue::SetIDRef(const void* id,
|
| - base::debug::TracedValue* state,
|
| + base::trace_event::TracedValue* state,
|
| const char* name) {
|
| state->BeginDictionary(name);
|
| state->SetString("id_ref", base::StringPrintf("%p", id));
|
| state->EndDictionary();
|
| }
|
|
|
| -void TracedValue::MakeDictIntoImplicitSnapshot(base::debug::TracedValue* dict,
|
| - const char* object_name,
|
| - const void* id) {
|
| +void TracedValue::MakeDictIntoImplicitSnapshot(
|
| + base::trace_event::TracedValue* dict,
|
| + const char* object_name,
|
| + const void* id) {
|
| dict->SetString("id", base::StringPrintf("%s/%p", object_name, id));
|
| }
|
|
|
| void TracedValue::MakeDictIntoImplicitSnapshotWithCategory(
|
| const char* category,
|
| - base::debug::TracedValue* dict,
|
| + base::trace_event::TracedValue* dict,
|
| const char* object_name,
|
| const void* id) {
|
| dict->SetString("cat", category);
|
| @@ -40,7 +42,7 @@ void TracedValue::MakeDictIntoImplicitSnapshotWithCategory(
|
|
|
| void TracedValue::MakeDictIntoImplicitSnapshotWithCategory(
|
| const char* category,
|
| - base::debug::TracedValue* dict,
|
| + base::trace_event::TracedValue* dict,
|
| const char* object_base_type_name,
|
| const char* object_name,
|
| const void* id) {
|
|
|