summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r--Libraries/LibHTML/HtmlView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/HtmlView.cpp b/Libraries/LibHTML/HtmlView.cpp
index 259fae0231..8d491d4e62 100644
--- a/Libraries/LibHTML/HtmlView.cpp
+++ b/Libraries/LibHTML/HtmlView.cpp
@@ -332,7 +332,7 @@ void HtmlView::load(const URL& url)
if (on_load_start)
on_load_start(url);
- ResourceLoader::the().load(url, [=](auto data) {
+ ResourceLoader::the().load(url, [this, url](auto data) {
if (data.is_null()) {
dbg() << "Load failed!";
ASSERT_NOT_REACHED();