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

Unified Diff: content/renderer/context_menu_params_builder.cc

Issue 23200006: Don't show the search-by-image menu item when the image is blocked (no image pixel data) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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/public/common/context_menu_params.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/context_menu_params_builder.cc
===================================================================
--- content/renderer/context_menu_params_builder.cc (revision 218524)
+++ content/renderer/context_menu_params_builder.cc (working copy)
@@ -24,7 +24,7 @@
params.link_url = data.linkURL;
params.unfiltered_link_url = data.linkURL;
params.src_url = data.srcURL;
- params.is_image_blocked = data.isImageBlocked;
+ params.has_image_contents = data.hasImageContents;
params.page_url = data.pageURL;
params.keyword_url = data.keywordURL;
params.frame_url = data.frameURL;
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698