Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2417e75e90ef6465ea092cae6095f5df58bd769e
https://github.com/WebKit/WebKit/commit/2417e75e90ef6465ea092cae6095f5df58bd769e
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-04 (Sat, 04 Jul 2026)
Changed paths:
M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp
Log Message:
-----------
[Web Inspector] DataLoader constructor takes RefPtr<IDBKeyRange> by value
instead of by rvalue-reference
https://bugs.webkit.org/show_bug.cgi?id=318607
rdar://181402256
Reviewed by Devin Rousso.
DataLoader::create() takes its IDBKeyRange as an rvalue-reference and
forwards it with WTF::move, and the sole call site passes an owned
temporary, but the private DataLoader constructor took the parameter by
value. This forced a redundant move-construction of the parameter before
it was moved into m_idbKeyRange. Take it by rvalue-reference for
consistency and to avoid the extra move.
* Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp:
(WebCore::DataLoader::DataLoader):
Canonical link: https://commits.webkit.org/316520@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications