From 6ea2fd3a7fd410f2c9498ee7a9bddf076e28b539 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 21 Nov 2014 12:51:30 +0000 Subject: [PATCH] Use API to get content for view source. --- cocoa/BrowserViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/BrowserViewController.m b/cocoa/BrowserViewController.m index 0f631eeaf..1f496fd7a 100644 --- a/cocoa/BrowserViewController.m +++ b/cocoa/BrowserViewController.m @@ -171,7 +171,7 @@ if (browser == NULL) return; - content = browser->current_content; + content = browser_window_get_content(browser); if (content == NULL) return; source = content_get_source_data(content, &size);