| Index: third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
|
| index 87f8554246cdefdf5b47461e4b04de2fea69f6da..5ce9a0660c38f9fa59c3c847feebac75aa496f85 100644
|
| --- a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
|
| +++ b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
|
| @@ -16,17 +16,17 @@ class DeviceLightEvent final : public Event {
|
| public:
|
| ~DeviceLightEvent() override;
|
|
|
| - static PassRefPtrWillBeRawPtr<DeviceLightEvent> create()
|
| + static RawPtr<DeviceLightEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new DeviceLightEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<DeviceLightEvent> create(const AtomicString& eventType, double value)
|
| + static RawPtr<DeviceLightEvent> create(const AtomicString& eventType, double value)
|
| {
|
| - return adoptRefWillBeNoop(new DeviceLightEvent(eventType, value));
|
| + return new DeviceLightEvent(eventType, value);
|
| }
|
| - static PassRefPtrWillBeRawPtr<DeviceLightEvent> create(const AtomicString& eventType, const DeviceLightEventInit& initializer)
|
| + static RawPtr<DeviceLightEvent> create(const AtomicString& eventType, const DeviceLightEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new DeviceLightEvent(eventType, initializer));
|
| + return new DeviceLightEvent(eventType, initializer);
|
| }
|
|
|
| double value() const { return m_value; }
|
|
|