Index: chrome/browser/media/media_capture_devices_dispatcher.cc |
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc |
index 7982a8254fbd776bc013cbda1fb167dcb3ce8ff0..cb66264721870df128777548397367b619c33516 100644 |
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc |
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc |
@@ -654,7 +654,7 @@ void MediaCaptureDevicesDispatcher::ProcessTabCaptureAccessRequest( |
content::MediaStreamDevices devices; |
scoped_ptr<content::MediaStreamUI> ui; |
-#if defined(ENABLE_EXTENSIONS) |
+#if defined(ENABLE_EXTENSIONS) && !defined(USE_ATHENA) |
Profile* profile = |
Profile::FromBrowserContext(web_contents->GetBrowserContext()); |
extensions::TabCaptureRegistry* tab_capture_registry = |