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

Unified Diff: chrome/browser/download/download_danger_prompt.cc

Issue 11361046: Remove TabContents from TabModalConfirmDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing include Created 8 years, 1 month 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/plugins/plugin_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_danger_prompt.cc
diff --git a/chrome/browser/download/download_danger_prompt.cc b/chrome/browser/download/download_danger_prompt.cc
index 59f4b32024fd5f9954aa5fed83f3f3f081e265fc..22603c0dddbb044140800ff01f2ffb22414f3c62 100644
--- a/chrome/browser/download/download_danger_prompt.cc
+++ b/chrome/browser/download/download_danger_prompt.cc
@@ -151,6 +151,6 @@ DownloadDangerPrompt* DownloadDangerPrompt::Create(
DownloadDangerPromptImpl* prompt =
new DownloadDangerPromptImpl(item, tab_contents, accepted, canceled);
// |prompt| will be deleted when the dialog is done.
- TabModalConfirmDialog::Create(prompt, tab_contents);
+ TabModalConfirmDialog::Create(prompt, tab_contents->web_contents());
return prompt;
}
« no previous file with comments | « no previous file | chrome/browser/plugins/plugin_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698