Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 466191ef87ab5d1919fbd92bac2f308e25aac66f..a5bdae8fb2bf9873042cc4cc8c4defd97291a639 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -694,7 +694,7 @@ TestingProfile::GetGeolocationPermissionContext() { |
content::SpeechRecognitionPreferences* |
TestingProfile::GetSpeechRecognitionPreferences() { |
#if defined(ENABLE_INPUT_SPEECH) |
- return ChromeSpeechRecognitionPreferences::GetForProfile(this); |
+ return ChromeSpeechRecognitionPreferences::GetForProfile(this).get(); |
#else |
return NULL; |
#endif |