Index: chrome/browser/extensions/extension_function_registry.cc |
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc |
index 231cfdc0939b57dc6192ec50c350129cec5e2f70..e60a7ffdda39e144c495a74d46bb4b3bf34f7803 100644 |
--- a/chrome/browser/extensions/extension_function_registry.cc |
+++ b/chrome/browser/extensions/extension_function_registry.cc |
@@ -260,10 +260,12 @@ void ExtensionFunctionRegistry::ResetFunctions() { |
RegisterFunction<extensions::OmniboxSendSuggestionsFunction>(); |
RegisterFunction<extensions::OmniboxSetDefaultSuggestionFunction>(); |
+#if defined(ENABLE_INPUT_SPEECH) |
// Speech input. |
RegisterFunction<StartSpeechInputFunction>(); |
RegisterFunction<StopSpeechInputFunction>(); |
RegisterFunction<IsRecordingSpeechInputFunction>(); |
+#endif |
#if defined(TOOLKIT_VIEWS) |
// Input. |