| Index: ui/events/latency_info.cc
|
| diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
|
| index b6817d0a49370252d173115b03b4087cb4302eb5..1bcd43f8b504ba246989bfdfc9390a2d3b1f9763 100644
|
| --- a/ui/events/latency_info.cc
|
| +++ b/ui/events/latency_info.cc
|
| @@ -70,7 +70,8 @@ bool IsBeginComponent(ui::LatencyComponentType type) {
|
| }
|
|
|
| // This class is for converting latency info to trace buffer friendly format.
|
| -class LatencyInfoTracedValue : public base::debug::ConvertableToTraceFormat {
|
| +class LatencyInfoTracedValue
|
| + : public base::trace_event::ConvertableToTraceFormat {
|
| public:
|
| static scoped_refptr<ConvertableToTraceFormat> FromValue(
|
| scoped_ptr<base::Value> value);
|
| @@ -86,9 +87,9 @@ class LatencyInfoTracedValue : public base::debug::ConvertableToTraceFormat {
|
| DISALLOW_COPY_AND_ASSIGN(LatencyInfoTracedValue);
|
| };
|
|
|
| -scoped_refptr<base::debug::ConvertableToTraceFormat>
|
| +scoped_refptr<base::trace_event::ConvertableToTraceFormat>
|
| LatencyInfoTracedValue::FromValue(scoped_ptr<base::Value> value) {
|
| - return scoped_refptr<base::debug::ConvertableToTraceFormat>(
|
| + return scoped_refptr<base::trace_event::ConvertableToTraceFormat>(
|
| new LatencyInfoTracedValue(value.release()));
|
| }
|
|
|
| @@ -106,7 +107,7 @@ LatencyInfoTracedValue::LatencyInfoTracedValue(base::Value* value)
|
| }
|
|
|
| // Converts latencyinfo into format that can be dumped into trace buffer.
|
| -scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData(
|
| +scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData(
|
| const ui::LatencyInfo& latency) {
|
| scoped_ptr<base::DictionaryValue> record_data(new base::DictionaryValue());
|
| for (ui::LatencyInfo::LatencyMap::const_iterator it =
|
|
|