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

Unified Diff: base/process/process_metrics.cc

Issue 655003004: 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: base/process/process_metrics.cc
diff --git a/base/process/process_metrics.cc b/base/process/process_metrics.cc
index 90baae5051c73379308c1effbd3226fab052332d..2edd9c755dea052a16de462b437913d6a6981e32 100644
--- a/base/process/process_metrics.cc
+++ b/base/process/process_metrics.cc
@@ -40,7 +40,7 @@ scoped_ptr<Value> SystemMetrics::ToValue() const {
res->Set("swapinfo", swap_info_.ToValue().release());
#endif
- return res.PassAs<Value>();
+ return res.Pass();
}
double ProcessMetrics::GetPlatformIndependentCPUUsage() {

Powered by Google App Engine
This is Rietveld 408576698