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

Unified Diff: Source/bindings/core/v8/V8ThrowException.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
« no previous file with comments | « Source/bindings/core/v8/ScriptPromise.cpp ('k') | Source/core/animation/AnimationPlayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8ThrowException.cpp
diff --git a/Source/bindings/core/v8/V8ThrowException.cpp b/Source/bindings/core/v8/V8ThrowException.cpp
index 8fbe87a23b8a45e30370c2186cfef810e3c9be70..37cce11ccfd94dd775b3cacd4079425064834d7a 100644
--- a/Source/bindings/core/v8/V8ThrowException.cpp
+++ b/Source/bindings/core/v8/V8ThrowException.cpp
@@ -73,8 +73,8 @@ v8::Handle<v8::Value> V8ThrowException::createDOMException(v8::Isolate* isolate,
v8::TryCatch tryCatch;
- RefPtrWillBeRawPtr<DOMException> domException = DOMException::create(ec, sanitizedMessage, unsanitizedMessage);
- v8::Local<v8::Value> exception = toV8(domException.get(), sanitizedCreationContext, isolate);
+ DOMException* domException = DOMException::create(ec, sanitizedMessage, unsanitizedMessage);
+ v8::Local<v8::Value> exception = toV8(domException, sanitizedCreationContext, isolate);
if (tryCatch.HasCaught()) {
ASSERT(exception.IsEmpty());
« no previous file with comments | « Source/bindings/core/v8/ScriptPromise.cpp ('k') | Source/core/animation/AnimationPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698