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

Unified Diff: content/child/child_thread.cc

Issue 660883003: 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
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | content/child/web_gesture_curve_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index e8d6591ae75fe364d20cb4ce8b6b966e638c735b..505acd3742c717beb6ea1e86f869886be8146ee4 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -315,7 +315,7 @@ void ChildThread::Init(const Options& options) {
channel_->AddFilter(power_monitor_source->GetMessageFilter());
power_monitor_.reset(new base::PowerMonitor(
- power_monitor_source.PassAs<base::PowerMonitorSource>()));
+ power_monitor_source.Pass()));
}
#if defined(OS_POSIX)
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | content/child/web_gesture_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698