mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWeb: Remove an unused capture in the media data request callback
This commit is contained in:
committed by
Alexander Kalenik
parent
a19c40aac5
commit
6a46bcaf35
Notes:
github-actions[bot]
2026-04-08 11:04:38 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/6a46bcaf35c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8812
@@ -1171,7 +1171,7 @@ void HTMLMediaElement::load_url_resource(URL::URL const& url_record, Function<vo
|
||||
m_remote_fetch_data = make<RemoteFetchData>();
|
||||
m_remote_fetch_data->url_record = url_record;
|
||||
m_remote_fetch_data->stream = Media::IncrementallyPopulatedStream::create_empty();
|
||||
m_remote_fetch_data->stream->set_data_request_callback(GC::weak_callback(*this, [&fetch_data = *m_remote_fetch_data](auto& self, u64 offset) {
|
||||
m_remote_fetch_data->stream->set_data_request_callback(GC::weak_callback(*this, [](auto& self, u64 offset) {
|
||||
self.restart_fetch_at_offset(offset);
|
||||
}));
|
||||
m_remote_fetch_data->failure_callback = move(failure_callback);
|
||||
|
||||
Reference in New Issue
Block a user