| Index: third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp
|
| index aad047a65311b1f2ca510df3663b3f7b409e0bf5..fe8e773f4cb6c6f2b3d55922262b009132c5dd05 100644
|
| --- a/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp
|
| @@ -58,7 +58,7 @@ ScriptPromise NavigatorVRDevice::getVRDevices(ScriptState* scriptState)
|
| return promise;
|
| }
|
|
|
| - controller()->getDevices(new VRGetDevicesCallback(resolver, m_hardwareUnits.get()));
|
| + controller()->getDevices(adoptPtr(new VRGetDevicesCallback(resolver, m_hardwareUnits.get())));
|
|
|
| return promise;
|
| }
|
|
|