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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java

Issue 2779113006: [Android] 'Open in browser' in context menu for CCT does not work for image. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
index cdaff92f9dd2dc13ced9d2b3d80c44ecfb054d5f..356d11becc969780077ec685480a6d48dd6805fc 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
@@ -582,7 +582,7 @@ public class ChromeContextMenuPopulator implements ContextMenuPopulator {
mDelegate.onOpenInNewChromeTabFromCCT(getUrl(params), true);
} else if (itemId == R.id.contextmenu_open_in_browser_id) {
ContextMenuUma.record(params, ContextMenuUma.ACTION_OPEN_IN_BROWSER);
- mDelegate.onOpenInDefaultBrowser(params.getLinkUrl());
+ mDelegate.onOpenInDefaultBrowser(getUrl(params));
} else {
assert false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698