mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 09:42:38 +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)
|
||||
return;
|
||||
content = browser->current_content;
|
||||
content = browser_window_get_content(browser);
|
||||
if (content == NULL)
|
||||
return;
|
||||
source = content_get_source_data(content, &size);
|
||||
|
Loading…
Reference in New Issue
Block a user