Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a5bd68731bf5871dbdfd54d2441d8dba32d757b
      
https://github.com/WebKit/WebKit/commit/0a5bd68731bf5871dbdfd54d2441d8dba32d757b
  Author: Basuke Suzuki <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.h
    M Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm
    M Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEffect.h
    M Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEffect.mm
    M Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.h
    M Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.mm

  Log Message:
  -----------
  [IsDeprecatedWeakRefSmartPointerException] Make GameControllerHaptic classes 
RefCounted
https://bugs.webkit.org/show_bug.cgi?id=282577

Reviewed by Geoffrey Garen.

Make GameControllerHapticEngines and GameControllerHapticEffect as RefCounted 
classes.

* Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.h:
(WebCore::GameControllerGamepad::ensureProtectedHapticEngines):
* Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm:
(WebCore::GameControllerGamepad::playEffect):
(WebCore::GameControllerGamepad::stopEffects):
(WebCore::GameControllerGamepad::noLongerHasAnyClient):
* Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEffect.h:
* Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEffect.mm:
(WebCore::GameControllerHapticEffect::create):
* Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.h:
* Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.mm:
(WebCore::GameControllerHapticEngines::create):
(WebCore::GameControllerHapticEngines::currentEffectForType):
(WebCore::GameControllerHapticEngines::playEffect):
(WebCore::GameControllerHapticEngines::ensureStarted):

Canonical link: https://commits.webkit.org/286195@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