| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 3c96c627608409c05226cbb1043a005d01b984fc..d0f0ccbbdb7287ddecac0f939552614922286e7b 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -104,6 +104,7 @@
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/chrome_pages.h"
|
| #include "chrome/browser/ui/chrome_select_file_policy.h"
|
| +#include "chrome/browser/ui/exclusive_access/exclusive_access_context_browser.h"
|
| #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h"
|
| #include "chrome/browser/ui/exclusive_access/mouse_lock_controller.h"
|
| #include "chrome/browser/ui/fast_unload_controller.h"
|
| @@ -446,7 +447,9 @@ Browser::Browser(const CreateParams& params)
|
| #endif // defined(OS_WIN)
|
| }
|
|
|
| - exclusive_access_manager_.reset(new ExclusiveAccessManager(this));
|
| + scoped_ptr<ExclusiveAccessContextBrowser> context(
|
| + new ExclusiveAccessContextBrowser(this));
|
| + exclusive_access_manager_.reset(new ExclusiveAccessManager(context.Pass()));
|
|
|
| // Must be initialized after window_.
|
| // Also: surprise! a modal dialog host is not necessary to host modal dialogs
|
|
|