Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8d07e7b15f270f03ce887be147e511276476628
      
https://github.com/WebKit/WebKit/commit/f8d07e7b15f270f03ce887be147e511276476628
  Author: Anne van Kesteren <[email protected]>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M Source/WebCore/Modules/cookie-store/CookieStore.cpp
    M Source/WebCore/Modules/mediasource/MediaSource.cpp
    M Source/WebCore/Modules/reporting/ReportingObserver.cpp
    M Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.cpp
    M Source/WebCore/Modules/storage/StorageManager.cpp

  Log Message:
  -----------
  Minor assorted dynamicDowncast<> cleanup
https://bugs.webkit.org/show_bug.cgi?id=283566

Reviewed by Chris Dumez.

* Source/WebCore/Modules/cookie-store/CookieStore.cpp:
(WebCore::CookieStore::MainThreadBridge::ensureOnMainThread):

The downcast was not used, use is<> instead.

* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::addSourceBuffer):
(WebCore::MediaSource::isTypeSupported):
(WebCore::MediaSource::createSourceBufferPrivate):

Removed redundant downcasting.

* Source/WebCore/Modules/reporting/ReportingObserver.cpp:
(WebCore::reportingScopeForContext):

dynamicDowncast<> can take a reference.

* Source/WebCore/Modules/speech/LocalDOMWindowSpeechSynthesis.cpp:
(WebCore::LocalDOMWindowSpeechSynthesis::from):

Removed redundant downcasting.

* Source/WebCore/Modules/storage/StorageManager.cpp:
(WebCore::connectionInfo):

Removed redundant null checks.

Canonical link: https://commits.webkit.org/286979@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to