| Index: chrome/browser/tab_contents/tab_contents.cc
|
| diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
|
| index 557d2a6667e38bc644fb961074f8352f7706eafe..a041db690903825f883fa638a24ce7422d27bcb7 100644
|
| --- a/chrome/browser/tab_contents/tab_contents.cc
|
| +++ b/chrome/browser/tab_contents/tab_contents.cc
|
| @@ -735,12 +735,11 @@ void TabContents::CreateShortcut() {
|
| render_view_host()->GetApplicationInfo(pending_install_.page_id);
|
| }
|
|
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) || defined(OS_LINUX)
|
| ConstrainedWindow* TabContents::CreateConstrainedDialog(
|
| - views::WindowDelegate* window_delegate) {
|
| + ConstrainedWindowDelegate* delegate) {
|
| ConstrainedWindow* window =
|
| - ConstrainedWindow::CreateConstrainedDialog(
|
| - this, window_delegate);
|
| + ConstrainedWindow::CreateConstrainedDialog(this, delegate);
|
| child_windows_.push_back(window);
|
| return window;
|
| }
|
|
|