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

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

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/tab_contents/navigation_controller.cc ('k') | chrome/browser/tab_contents/site_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu_controller.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu_controller.cc (revision 10992)
+++ chrome/browser/tab_contents/render_view_context_menu_controller.cc (working copy)
@@ -303,8 +303,9 @@
case IDS_CONTENT_CONTEXT_SAVELINKAS: {
const GURL& referrer =
params_.frame_url.is_empty() ? params_.page_url : params_.frame_url;
- const GURL& url = id == IDS_CONTENT_CONTEXT_SAVELINKAS ? params_.link_url :
- params_.image_url;
+ const GURL& url =
+ (id == IDS_CONTENT_CONTEXT_SAVELINKAS ? params_.link_url :
+ params_.image_url);
DownloadManager* dlm =
source_web_contents_->profile()->GetDownloadManager();
dlm->DownloadUrl(url, referrer, source_web_contents_);
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller.cc ('k') | chrome/browser/tab_contents/site_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698