Index: chrome/browser/views/modal_dialog_delegate.cc |
diff --git a/chrome/browser/views/modal_dialog_delegate.cc b/chrome/browser/views/modal_dialog_delegate.cc |
index a0f91ba955065e97492ad85a286da3642d704ef3..a08d611c4ff3e592d568a86e632b1093890529f3 100644 |
--- a/chrome/browser/views/modal_dialog_delegate.cc |
+++ b/chrome/browser/views/modal_dialog_delegate.cc |
@@ -1,10 +1,11 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
#include "chrome/browser/views/modal_dialog_delegate.h" |
#include "base/logging.h" |
+#include "chrome/browser/views/window.h" |
#include "views/window/window.h" |
void ModalDialogDelegate::ShowModalDialog() { |
@@ -14,7 +15,7 @@ void ModalDialogDelegate::ShowModalDialog() { |
if (!root_hwnd) { |
Cancel(); |
} else { |
- dialog_ = views::Window::CreateChromeWindow(root_hwnd, gfx::Rect(), this); |
+ dialog_ = browser::CreateViewsWindow(root_hwnd, gfx::Rect(), this); |
dialog_->Show(); |
} |
} |