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

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

Issue 7572040: Enable media.dll / libmedia.so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « no previous file | media/audio/audio_buffers_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer_unittest.cc
===================================================================
--- content/browser/speech/speech_recognizer_unittest.cc (revision 95624)
+++ content/browser/speech/speech_recognizer_unittest.cc (working copy)
@@ -75,11 +75,12 @@
// testing::Test methods.
virtual void SetUp() {
- AudioInputController::set_factory(&audio_input_controller_factory_);
+ AudioInputController::set_factory_for_testing(
+ &audio_input_controller_factory_);
}
virtual void TearDown() {
- AudioInputController::set_factory(NULL);
+ AudioInputController::set_factory_for_testing(NULL);
}
void FillPacketWithTestWaveform() {
« no previous file with comments | « no previous file | media/audio/audio_buffers_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698