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

Unified Diff: content/browser/download/download_manager_impl.cc

Issue 10069016: TabContents -> WebContentsImpl, part 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/mhtml_generation_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl.cc
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index 787349911b58a4c3fdaf3781e874a04ad5825029..9bdb48aa7bfbe2382d1e3b34056dbf0f6c79d308 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -1045,12 +1045,12 @@ void DownloadManagerImpl::OnDownloadItemAddedToPersistentStore(
}
void DownloadManagerImpl::ShowDownloadInBrowser(DownloadItem* download) {
- // The 'contents' may no longer exist if the user closed the tab before we
- // get this start completion event.
+ // The 'contents' may no longer exist if the user closed the contents before
+ // we get this start completion event.
WebContents* content = download->GetWebContents();
// If the contents no longer exists, we ask the embedder to suggest another
- // tab.
+ // contents.
if (!content)
content = delegate_->GetAlternativeWebContentsToNotifyForDownload();
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/mhtml_generation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698