diff options
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 3f3ebe3..b9d92e4 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -828,8 +828,7 @@ void Browser::ShowHtmlDialog(HtmlDialogContentsDelegate* delegate, HWND parent_hwnd) { parent_hwnd = parent_hwnd ? parent_hwnd : GetTopLevelHWND(); HtmlDialogView* html_view = new HtmlDialogView(this, profile_, delegate); - ChromeViews::Window::CreateChromeWindow(parent_hwnd, gfx::Rect(), - html_view); + views::Window::CreateChromeWindow(parent_hwnd, gfx::Rect(), html_view); html_view->InitDialog(); html_view->window()->Show(); } @@ -1535,12 +1534,12 @@ void Browser::TabStripEmpty() { void Browser::RemoveShelvesForTabContents(TabContents* contents) { DCHECK(!g_browser_process->IsUsingNewFrames()); - ChromeViews::View* shelf = contents->GetDownloadShelfView(); + views::View* shelf = contents->GetDownloadShelfView(); if (shelf && shelf->GetParent() != NULL) shelf->GetParent()->RemoveChildView(shelf); if (contents->AsWebContents()) { - ChromeViews::View* info_bar = + views::View* info_bar = contents->AsWebContents()->view()->GetInfoBarView(); if (info_bar && info_bar->GetParent() != NULL) info_bar->GetParent()->RemoveChildView(info_bar); |