| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| index 5a27c1f35e846fc53e4a67ca686ea856242a7502..f539c32525b34bf745cb9acb411045be84de0a2d 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| @@ -43,10 +43,10 @@ const char* DeviceOrientationController::supplementName()
|
|
|
| DeviceOrientationController& DeviceOrientationController::from(Document& document)
|
| {
|
| - DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
|
| + DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(HeapSupplement<Document>::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceOrientationController(document);
|
| - WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| + HeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
| @@ -94,7 +94,7 @@ void DeviceOrientationController::unregisterWithDispatcher()
|
| dispatcherInstance().removeController(this);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Event> DeviceOrientationController::lastEvent() const
|
| +RawPtr<Event> DeviceOrientationController::lastEvent() const
|
| {
|
| return DeviceOrientationEvent::create(eventTypeName(), lastData());
|
| }
|
| @@ -135,7 +135,7 @@ DEFINE_TRACE(DeviceOrientationController)
|
| {
|
| visitor->trace(m_overrideOrientationData);
|
| DeviceSingleWindowEventController::trace(visitor);
|
| - WillBeHeapSupplement<Document>::trace(visitor);
|
| + HeapSupplement<Document>::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|