summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/frame/dom_browser_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/frame/dom_browser_view.cc')
-rw-r--r--chrome/browser/chromeos/frame/dom_browser_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/frame/dom_browser_view.cc b/chrome/browser/chromeos/frame/dom_browser_view.cc
index 5dd25af..9906b95 100644
--- a/chrome/browser/chromeos/frame/dom_browser_view.cc
+++ b/chrome/browser/chromeos/frame/dom_browser_view.cc
@@ -20,7 +20,7 @@ DOMBrowserView::~DOMBrowserView() {}
// static
BrowserWindow* DOMBrowserView::CreateDOMWindow(Browser* browser) {
DOMBrowserView* view = new DOMBrowserView(browser);
- BrowserFrame::Create(view, browser->profile());
+ (new BrowserFrame(view))->InitBrowserFrame();
return view;
}