Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 800fdbd20f16a4985c4d5b08a3a2cdca61d8349f
https://github.com/WebKit/WebKit/commit/800fdbd20f16a4985c4d5b08a3a2cdca61d8349f
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M Source/WebCore/html/HTMLFrameElementBase.cpp
Log Message:
-----------
Use SetForScope for HTMLFrameElementBase::m_openingURLAfterInsertin
https://bugs.webkit.org/show_bug.cgi?id=318299
rdar://181094089
Reviewed by Simon Fraser.
The postConnectionSteps() work lambda manually set m_openingURLAfterInserting
to true and reset it to false at the end of the block. Replace this with a
SetForScope guard so the flag is restored unconditionally when the scope exits,
matching the idiom used elsewhere in WebCore. No change in behavior.
* Source/WebCore/html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::postConnectionSteps):
Canonical link: https://commits.webkit.org/316313@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications