Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: Source/modules/vr/NavigatorVRDevice.cpp

Issue 1233173002: Have ScriptPromiseResolver on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: keepAliveWhilePending() comment Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698