| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 2f5337ef1ab77e07c9b730f62c253611465bd148..597a328200d118122e97472931df6919299459fb 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -105,6 +105,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"
|
| @@ -448,7 +449,10 @@ Browser::Browser(const CreateParams& params)
|
| #endif // defined(OS_WIN)
|
| }
|
|
|
| - exclusive_access_manager_.reset(new ExclusiveAccessManager(this));
|
| + // TODO(sriramsr): HACK TO PASS pointer and will fix by having browser window
|
| + // implement the interface.
|
| + exclusive_access_manager_.reset(
|
| + new ExclusiveAccessManager(new ExclusiveAccessContextBrowser(this)));
|
|
|
| // Must be initialized after window_.
|
| // Also: surprise! a modal dialog host is not necessary to host modal dialogs
|
|
|