| Index: Source/modules/device_orientation/DeviceMotionEvent.h
|
| diff --git a/Source/modules/device_orientation/DeviceMotionEvent.h b/Source/modules/device_orientation/DeviceMotionEvent.h
|
| index 2f50e9f9635e7b6f585cfd8d7663f2af682f97bf..ce19d5fb6403af6c04cac2b439e34a45fff75700 100644
|
| --- a/Source/modules/device_orientation/DeviceMotionEvent.h
|
| +++ b/Source/modules/device_orientation/DeviceMotionEvent.h
|
| @@ -38,13 +38,13 @@ class DeviceRotationRate;
|
| class DeviceMotionEvent FINAL : public Event {
|
| public:
|
| virtual ~DeviceMotionEvent();
|
| - static PassRefPtrWillBeRawPtr<DeviceMotionEvent> create()
|
| + static PassRefPtr<DeviceMotionEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new DeviceMotionEvent);
|
| + return adoptRef(new DeviceMotionEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<DeviceMotionEvent> create(const AtomicString& eventType, DeviceMotionData* deviceMotionData)
|
| + static PassRefPtr<DeviceMotionEvent> create(const AtomicString& eventType, DeviceMotionData* deviceMotionData)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new DeviceMotionEvent(eventType, deviceMotionData));
|
| + return adoptRef(new DeviceMotionEvent(eventType, deviceMotionData));
|
| }
|
|
|
| void initDeviceMotionEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceMotionData*);
|
|
|