summaryrefslogtreecommitdiff
path: root/cocoa/BrowserView.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/BrowserView.m')
-rw-r--r--cocoa/BrowserView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/BrowserView.m b/cocoa/BrowserView.m
index 203e7b14e..72ba0ea00 100644
--- a/cocoa/BrowserView.m
+++ b/cocoa/BrowserView.m
@@ -522,7 +522,7 @@ static browser_mouse_state cocoa_mouse_flags_for_event( NSEvent *evt )
browser_window_get_contextual_content( browser, point.x, point.y, &cont);
if (cont.object != NULL) {
- NSString *imageURL = [NSString stringWithUTF8String: nsurl_access(content_get_url( cont.object ))];
+ NSString *imageURL = [NSString stringWithUTF8String: nsurl_access(hlcache_handle_get_url( cont.object ))];
[[popupMenu addItemWithTitle: NSLocalizedString( @"Open image in new tab", @"Context menu" )
action: @selector(cmOpenURLInTab:)