| Index: cc/debug/traced_value.cc
|
| diff --git a/cc/debug/traced_value.cc b/cc/debug/traced_value.cc
|
| index 637c700552571c2ffe0e63dfe630e0d77cd84283..fbca5c60c8073a0e6df6bb1530cd055b6a0f2386 100644
|
| --- a/cc/debug/traced_value.cc
|
| +++ b/cc/debug/traced_value.cc
|
| @@ -21,6 +21,15 @@ void TracedValue::MakeDictIntoImplicitSnapshot(
|
| dict->SetString("id", base::StringPrintf("%s/%p", object_name, id));
|
| }
|
|
|
| +void TracedValue::MakeDictIntoImplicitSnapshotWithCategory(
|
| + const char* category,
|
| + base::DictionaryValue* dict,
|
| + const char* object_name,
|
| + const void* id) {
|
| + dict->SetString("cat", category);
|
| + MakeDictIntoImplicitSnapshot(dict, object_name, id);
|
| +}
|
| +
|
| scoped_ptr<base::debug::ConvertableToTraceFormat> TracedValue::FromValue(
|
| base::Value* value) {
|
| TracedValue* ptr = new TracedValue(value);
|
|
|