mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 17:52:43 +03:00
Use API to get content for view source.
This commit is contained in:
parent
22ebdd3315
commit
6ea2fd3a7f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user