Use API to get content for view source.

This commit is contained in:
Michael Drake 2014-11-21 12:51:30 +00:00
parent 22ebdd3315
commit 6ea2fd3a7f

View File

@ -171,7 +171,7 @@
if (browser == NULL) if (browser == NULL)
return; return;
content = browser->current_content; content = browser_window_get_content(browser);
if (content == NULL) if (content == NULL)
return; return;
source = content_get_source_data(content, &size); source = content_get_source_data(content, &size);