Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index 61e8af09c2e1017dcc10e3976b22067d134d3f67..92882dccfd0909d3adc8bb8d544307fe6449361f 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -82,7 +82,7 @@ ScriptPromise AudioContext::suspendContext(ScriptState* scriptState) |
ASSERT(isMainThread()); |
AutoLocker locker(this); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
if (contextState() == Closed) { |
@@ -113,7 +113,7 @@ ScriptPromise AudioContext::resumeContext(ScriptState* scriptState) |
"cannot resume a closed AudioContext")); |
} |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
// Restart the destination node to pull on the audio graph. |