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

Unified Diff: ash/accelerometer/accelerometer_controller.cc

Issue 560223004: Remove implicit conversions from scoped_refptr to T* in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerometer/accelerometer_controller.cc
diff --git a/ash/accelerometer/accelerometer_controller.cc b/ash/accelerometer/accelerometer_controller.cc
index e529e869a2e7a8d9bcb6e5871f0577a54bc8e9e7..4e04259c242a6aeae2b8063a8515b19a33524650 100644
--- a/ash/accelerometer/accelerometer_controller.cc
+++ b/ash/accelerometer/accelerometer_controller.cc
@@ -17,7 +17,8 @@ AccelerometerController::~AccelerometerController() {
void AccelerometerController::Initialize(
scoped_refptr<base::TaskRunner> blocking_task_runner) {
#if defined(OS_CHROMEOS)
- reader_.reset(new chromeos::AccelerometerReader(blocking_task_runner, this));
+ reader_.reset(
+ new chromeos::AccelerometerReader(blocking_task_runner.get(), this));
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698