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

Unified Diff: chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm

Issue 11111022: Remove TabContents from constrained windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unrelated gtk code Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
diff --git a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
index bc8f61eea77202b4e6e929d4bfe86ff642c9f4a9..e6231f7375441a6ac6afdfc63d3c2f116cd7c99d 100644
--- a/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
+++ b/chrome/browser/ui/cocoa/constrained_web_dialog_delegate_mac.mm
@@ -128,7 +128,8 @@ ConstrainedWebDialogDelegate* ui::CreateConstrainedWebDialog(
// Deleted when ConstrainedWebDialogDelegateMac::OnDialogCloseFromWebUI()
// runs.
ConstrainedWindow* constrained_window =
- new ConstrainedWindowMac(tab_contents, constrained_delegate);
+ new ConstrainedWindowMac(tab_contents->web_contents(),
+ constrained_delegate);
constrained_delegate->set_window(constrained_window);
return constrained_delegate;
}
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/constrained_window/constrained_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698