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

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

Issue 1107793002: Oilpan: have DOMException be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 d69b509d497fce8b9531a78ae3eabc94ad5fe4c3..682dc2a0b8aeb26f1ddf1f614b5a8f82fccad825 100644
--- a/Source/modules/vr/NavigatorVRDevice.cpp
+++ b/Source/modules/vr/NavigatorVRDevice.cpp
@@ -54,7 +54,7 @@ ScriptPromise NavigatorVRDevice::getVRDevices(ScriptState* scriptState)
Document* document = m_frame ? m_frame->document() : 0;
if (!document || !controller()) {
- RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(InvalidStateError, "The object is no longer associated to a document.");
+ DOMException* exception = DOMException::create(InvalidStateError, "The object is no longer associated to a document.");
resolver->reject(exception);
return promise;
}
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp ('k') | Source/modules/vr/VRHardwareUnitCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698