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 9a38f82768a741201a6c4b96f9ce62ce54990caa..f5631773c4a43748f9a8433b8b274a0de2989d23 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. |