Index: Source/modules/vr/NavigatorVRDevice.cpp |
diff --git a/Source/modules/vr/NavigatorVRDevice.cpp b/Source/modules/vr/NavigatorVRDevice.cpp |
index 682dc2a0b8aeb26f1ddf1f614b5a8f82fccad825..6987356e7c603b5b6e4eeb43ba0becf64bef8fa5 100644 |
--- a/Source/modules/vr/NavigatorVRDevice.cpp |
+++ b/Source/modules/vr/NavigatorVRDevice.cpp |
@@ -48,7 +48,7 @@ ScriptPromise NavigatorVRDevice::getVRDevices(ScriptState* scriptState, Navigato |
ScriptPromise NavigatorVRDevice::getVRDevices(ScriptState* scriptState) |
{ |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
Document* document = m_frame ? m_frame->document() : 0; |