Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 1dc929def70be03362a112f602aee8a5c5ab5526..33b9f88ad9c78c03e1fe7e1ce35558117ffce5ef 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -446,7 +446,8 @@ Browser::Browser(const CreateParams& params) |
#endif // defined(OS_WIN) |
} |
- exclusive_access_manager_.reset(new ExclusiveAccessManager(this)); |
+ exclusive_access_manager_.reset( |
+ new ExclusiveAccessManager(window_->GetExclusiveAccessContext())); |
// Must be initialized after window_. |
// Also: surprise! a modal dialog host is not necessary to host modal dialogs |