mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Explicitly mark HashMap copy
This commit is contained in:
parent
5cfa883b9f
commit
12d1ddbde5
Notes:
sideshowbarker
2024-07-17 03:27:40 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/12d1ddbde5 Pull-request: https://github.com/SerenityOS/serenity/pull/18821 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void Resource::did_load(Badge<ResourceLoader>, ReadonlyBytes data, HashMap<Depre
|
|||
VERIFY(!m_loaded);
|
||||
// FIXME: Handle OOM failure.
|
||||
m_encoded_data = ByteBuffer::copy(data).release_value_but_fixme_should_propagate_errors();
|
||||
m_response_headers = headers;
|
||||
m_response_headers = headers.clone().release_value_but_fixme_should_propagate_errors();
|
||||
m_status_code = move(status_code);
|
||||
m_loaded = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue