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

Unified Diff: ui/events/latency_info.cc

Issue 659713003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
Index: ui/events/latency_info.cc
diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
index fe96055aa2b72b689af0a1bcdb52226bbe917094..99879082e67c519ee51c8b241573e93d02bf2a5c 100644
--- a/ui/events/latency_info.cc
+++ b/ui/events/latency_info.cc
@@ -130,7 +130,7 @@ scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData(
coordinates->Append(coordinate_pair.release());
}
record_data->Set("coordinates", coordinates.release());
- return LatencyInfoTracedValue::FromValue(record_data.PassAs<base::Value>());
+ return LatencyInfoTracedValue::FromValue(record_data.Pass());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698