Index: athena/main/athena_launcher.cc |
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc |
index 700b869304a458e3c7368aa46409d4113d5fd65f..149bd2e037d00c60aa059bccb9a92cfd6d87004a 100644 |
--- a/athena/main/athena_launcher.cc |
+++ b/athena/main/athena_launcher.cc |
@@ -87,6 +87,7 @@ class AthenaViewsDelegate : public views::ViewsDelegate { |
virtual void OnBeforeWidgetInit( |
views::Widget::InitParams* params, |
views::internal::NativeWidgetDelegate* delegate) OVERRIDE { |
+ params->context = athena::ScreenManager::Get()->GetContext(); |
} |
DISALLOW_COPY_AND_ASSIGN(AthenaViewsDelegate); |
@@ -127,7 +128,6 @@ void StartAthenaEnv(aura::Window* root_window, |
} |
void StartAthenaSessionWithContext(content::BrowserContext* context) { |
- athena::ExtensionsDelegate::CreateExtensionsDelegateForShell(context); |
StartAthenaSession(new athena::ContentActivityFactory(), |
new athena::ContentAppModelBuilder(context)); |
athena::VirtualKeyboardManager::Create(context); |