| Index: Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
|
| diff --git a/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp b/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
|
| index 6ece62415b58d0578ce6c8153e098b500ca479ea..fec2e9c4a933edcf32d5d846e87e15e4bd7f344e 100644
|
| --- a/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
|
| +++ b/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
|
| @@ -76,8 +76,8 @@ void initDeviceOrientationEventCallback(Dart_NativeArguments args)
|
| goto fail;
|
| bool absoluteProvided = true;
|
|
|
| - RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
|
| - receiver->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
|
| + DeviceOrientationData* orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
|
| + receiver->initDeviceOrientationEvent(type, bubbles, cancelable, orientation);
|
| return;
|
| }
|
|
|
|
|