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

Unified Diff: content/browser/speech/speech_recognition_browsertest.cc

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/browser/security_exploit_browsertest.cc ('k') | content/browser/startup_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognition_browsertest.cc
diff --git a/content/browser/speech/speech_recognition_browsertest.cc b/content/browser/speech/speech_recognition_browsertest.cc
index 481b2a01dce2c917e5f4d57cf294642174cc85bf..c34a3e4abfee0db85a64c75c0336c145dc3c768a 100644
--- a/content/browser/speech/speech_recognition_browsertest.cc
+++ b/content/browser/speech/speech_recognition_browsertest.cc
@@ -148,7 +148,7 @@ class SpeechRecognitionBrowserTest :
audio_bus->FromInterleaved(&audio_buffer.get()[0],
audio_bus->frames(),
audio_params.bits_per_sample() / 8);
- controller->event_handler()->OnData(controller, audio_bus.get());
+ controller->event_handler()->OnData(controller.get(), audio_bus.get());
}
void FeedAudioController(int duration_ms, bool feed_with_noise) {
« no previous file with comments | « content/browser/security_exploit_browsertest.cc ('k') | content/browser/startup_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698