Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8c8ff06840728782867af387673ce84d9e8d5c38
https://github.com/WebKit/WebKit/commit/8c8ff06840728782867af387673ce84d9e8d5c38
Author: Ruthvik Konda <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebCore/Modules/speech/SpeechRecognition.cpp
M Source/WebCore/Modules/speech/SpeechRecognitionCaptureSourceImpl.cpp
M Source/WebCore/Modules/speech/SpeechSynthesis.cpp
M Source/WebCore/Modules/storage/StorageManager.cpp
M Source/WebCore/Modules/storage/WorkerStorageConnection.cpp
Log Message:
-----------
Use protect() instead of Ref { } in storage and speech code
https://bugs.webkit.org/show_bug.cgi?id=313504
rdar://175734223
Reviewed by Ryosuke Niwa.
Mechanical migration from Ref { expr } to protect(expr) in storage and
speech code, aligning with the codebase-wide transition away from
brace-initialized smart pointer temporaries.
No new tests needed (no behavioral change, style-only refactor).
* Source/WebCore/Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::SpeechRecognition):
* Source/WebCore/Modules/speech/SpeechRecognitionCaptureSourceImpl.cpp:
(WebCore::SpeechRecognitionCaptureSourceImpl::SpeechRecognitionCaptureSourceImpl):
* Source/WebCore/Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::getVoices):
(WebCore::SpeechSynthesis::startSpeakingImmediately):
* Source/WebCore/Modules/storage/StorageManager.cpp:
(WebCore::StorageManager::getDirectory):
* Source/WebCore/Modules/storage/WorkerStorageConnection.cpp:
(WebCore::WorkerStorageConnection::getDirectory):
Canonical link: https://commits.webkit.org/312219@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications