Index: chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc |
diff --git a/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc b/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc |
index c7f2a56d9bdaa3c5f2775d30b563c53f90240e08..9bd20a72f6cb1dcc95c17b5be32f62c820010d42 100644 |
--- a/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc |
+++ b/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc |
@@ -30,13 +30,14 @@ |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/common/speech_recognition_error.h" |
#include "content/public/common/speech_recognition_result.h" |
+#include "extensions/features/features.h" |
#include "net/url_request/url_request_context_getter.h" |
#if defined(OS_WIN) |
#include "chrome/installer/util/wmi.h" |
#endif |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
#include "chrome/browser/extensions/extension_service.h" |
#include "extensions/browser/view_type_utils.h" |
#endif |
@@ -333,7 +334,7 @@ void ChromeSpeechRecognitionManagerDelegate::CheckRenderViewType( |
return; |
} |
-#if defined(ENABLE_EXTENSIONS) |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
WebContents* web_contents = WebContents::FromRenderViewHost(render_view_host); |
extensions::ViewType view_type = extensions::GetViewType(web_contents); |