Remove the windows specific bits from login_prompt.cc and make LoginPromptWin conform to a general cross platform interface.
(Also tightens the interface for ConstrainedWindows a bit more)
Review URL: http://codereview.chromium.org/125217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18623 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index bd4e803a..bb3a80fa 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -741,11 +741,10 @@
#if defined(OS_WIN)
ConstrainedWindow* TabContents::CreateConstrainedDialog(
- views::WindowDelegate* window_delegate,
- views::View* contents_view) {
+ views::WindowDelegate* window_delegate) {
ConstrainedWindow* window =
ConstrainedWindow::CreateConstrainedDialog(
- this, gfx::Rect(), contents_view, window_delegate);
+ this, window_delegate);
child_windows_.push_back(window);
return window;
}