Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 443548189a54f226bb364dc7a99f4bd2c256175f
https://github.com/WebKit/WebKit/commit/443548189a54f226bb364dc7a99f4bd2c256175f
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
M Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
Log Message:
-----------
Simplify object-store lookup in IDBTransaction::objectStore()
https://bugs.webkit.org/show_bug.cgi?id=319216
rdar://182074693
Reviewed by Chris Dumez.
Replace a hand-rolled linear-scan loop over m_info.objectStores() with
Vector::contains(), declare the `found` result next to its only use, and
drop the redundant `!info` check from the scoping condition (the early
return above already guarantees `info` is non-null).
No behavior change.
* Source/WebCore/Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::objectStore):
Canonical link: https://commits.webkit.org/317023@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications