Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 132047: GTK: HTTP Auth dialogs under linux. (Closed)
Patch Set: Fix for evanm Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698