Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b445326fff96f518a1a2d4bd459052894b4ee7ea
https://github.com/WebKit/WebKit/commit/b445326fff96f518a1a2d4bd459052894b4ee7ea
Author: Sihui Liu <[email protected]>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M Source/WebCore/dom/DeviceMotionController.cpp
M Source/WebCore/dom/DeviceMotionController.h
M Source/WebCore/dom/DeviceOrientationController.cpp
M Source/WebCore/dom/DeviceOrientationController.h
M Source/WebCore/page/DeviceClient.h
M Source/WebCore/page/DeviceController.cpp
M Source/WebCore/page/DeviceController.h
M Source/WebCore/platform/mock/DeviceOrientationClientMock.h
Log Message:
-----------
Drop IsDeprecatedWeakRefSmartPointerException for DeviceClient
rdar://146721489
https://bugs.webkit.org/show_bug.cgi?id=289515
Reviewed by Ryosuke Niwa and Per Arne Vollan.
Also, make DeviceController data members private.
* Source/WebCore/dom/DeviceMotionController.cpp:
(WebCore::DeviceMotionController::DeviceMotionController):
(WebCore::DeviceMotionController::resumeUpdates):
(WebCore::DeviceMotionController::hasLastData):
(WebCore::DeviceMotionController::getLastEvent):
(WebCore::DeviceMotionController::client):
(WebCore::DeviceMotionController::deviceMotionClient): Deleted.
* Source/WebCore/dom/DeviceMotionController.h:
* Source/WebCore/dom/DeviceOrientationController.cpp:
(WebCore::DeviceOrientationController::DeviceOrientationController):
(WebCore::DeviceOrientationController::resumeUpdates):
(WebCore::DeviceOrientationController::hasLastData):
(WebCore::DeviceOrientationController::getLastEvent):
(WebCore::DeviceOrientationController::client):
(WebCore::DeviceOrientationController::deviceOrientationClient): Deleted.
* Source/WebCore/dom/DeviceOrientationController.h:
* Source/WebCore/page/DeviceClient.h:
* Source/WebCore/page/DeviceController.cpp:
(WebCore::DeviceController::DeviceController):
(WebCore::DeviceController::addDeviceEventListener):
(WebCore::DeviceController::removeDeviceEventListener):
(WebCore::DeviceController::removeAllDeviceEventListeners):
(WebCore::DeviceController::checkedClient):
(WebCore::DeviceController::client): Deleted.
* Source/WebCore/page/DeviceController.h:
(WebCore::DeviceController::hasListeners):
* Source/WebCore/platform/mock/DeviceOrientationClientMock.h:
Canonical link: https://commits.webkit.org/292374@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