Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2507145cc7b12665dad36410b6031fdd1b3490ce
https://github.com/WebKit/WebKit/commit/2507145cc7b12665dad36410b6031fdd1b3490ce
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-02 (Wed, 02 Sep 2026)
Changed paths:
M Source/WebCore/loader/ResourceLoadNotifier.cpp
Log Message:
-----------
ResourceLoadNotifier::dispatchWillSendRequest re-reads m_frame instead of the
cached frame local
https://bugs.webkit.org/show_bug.cgi?id=322898
rdar://186149573
Reviewed by Chris Dumez.
dispatchWillSendRequest() already caches Ref frame = m_frame.get(), and
the ASSERT and every subsequent call go through that local, but two
documentLoader() lookups still dereferenced the m_frame member directly.
Route them through the cached frame for consistency; no behavior change.
As drive-by, remove `.get()` as well.
* Source/WebCore/loader/ResourceLoadNotifier.cpp:
(WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
Canonical link: https://commits.webkit.org/320320@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications