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

Unified Diff: media/audio/audio_input_controller.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 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 | « ipc/file_descriptor_set_posix_unittest.cc ('k') | media/audio/audio_output_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_input_controller.cc
diff --git a/media/audio/audio_input_controller.cc b/media/audio/audio_input_controller.cc
index fc4b97df67fc61b8d89b5e2d003b5451723e799c..45ab2c404043a1e892562b093d9fad6f86fc35cd 100644
--- a/media/audio/audio_input_controller.cc
+++ b/media/audio/audio_input_controller.cc
@@ -42,8 +42,8 @@ scoped_refptr<AudioInputController> AudioInputController::Create(
return factory_->Create(event_handler, params, samples_per_packet);
}
- scoped_refptr<AudioInputController> controller = new AudioInputController(
- event_handler);
+ scoped_refptr<AudioInputController> controller(new AudioInputController(
+ event_handler));
// Start the thread and post a task to create the audio input stream.
controller->thread_.Start();
« no previous file with comments | « ipc/file_descriptor_set_posix_unittest.cc ('k') | media/audio/audio_output_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698