| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| index 48aa6c793bc6b77866231fe4d4c2fe90f30a77f7..6b7fb229851a1bf211f156c046ca051ce607fee3 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
|
| @@ -38,13 +38,13 @@ class DeviceOrientationEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| ~DeviceOrientationEvent() override;
|
| - static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create()
|
| + static RawPtr<DeviceOrientationEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new DeviceOrientationEvent);
|
| + return (new DeviceOrientationEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
|
| + static RawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
|
| {
|
| - return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
|
| + return (new DeviceOrientationEvent(eventType, orientation));
|
| }
|
|
|
| void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, const Nullable<bool>& absolute);
|
| @@ -64,7 +64,7 @@ private:
|
| DeviceOrientationEvent();
|
| DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData*);
|
|
|
| - PersistentWillBeMember<DeviceOrientationData> m_orientation;
|
| + Member<DeviceOrientationData> m_orientation;
|
| };
|
|
|
| DEFINE_TYPE_CASTS(DeviceOrientationEvent, Event, event, event->interfaceName() == EventNames::DeviceOrientationEvent, event.interfaceName() == EventNames::DeviceOrientationEvent);
|
|
|