Index: athena/main/athena_launcher.cc |
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc |
index d34be2596391d2196eb9d3deaba41cb7a6d848a5..2f5c09b9e861b1f632c8ae0d2999f540f32fafde 100644 |
--- a/athena/main/athena_launcher.cc |
+++ b/athena/main/athena_launcher.cc |
@@ -89,6 +89,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); |
@@ -130,7 +131,6 @@ void StartAthenaEnv(scoped_refptr<base::TaskRunner> file_runner) { |
} |
void StartAthenaSessionWithContext(content::BrowserContext* context) { |
- athena::ExtensionsDelegate::CreateExtensionsDelegateForShell(context); |
StartAthenaSession(new athena::ContentActivityFactory(), |
new athena::ContentAppModelBuilder(context)); |
athena::VirtualKeyboardManager::Create(context); |