Index: Source/bindings/v8/V8Binding.cpp |
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp |
index 30d76c11993d63a43b188c94f1d5cb3cbcbfad9c..558836eb2b0260541543ea684b6fb3a7b7fcf6e8 100644 |
--- a/Source/bindings/v8/V8Binding.cpp |
+++ b/Source/bindings/v8/V8Binding.cpp |
@@ -67,12 +67,13 @@ namespace WebCore { |
v8::Handle<v8::Value> setDOMException(int exceptionCode, v8::Isolate* isolate) |
{ |
- return V8ThrowException::throwDOMException(exceptionCode, isolate); |
+ // FIXME: pass in an ExceptionState instead for better creationContext. |
+ return V8ThrowException::throwDOMException(exceptionCode, v8::Handle<v8::Object>(), isolate); |
} |
v8::Handle<v8::Value> setDOMException(int exceptionCode, const String& message, v8::Isolate* isolate) |
{ |
- return V8ThrowException::throwDOMException(exceptionCode, message, isolate); |
+ return V8ThrowException::throwDOMException(exceptionCode, message, v8::Handle<v8::Object>(), isolate); |
} |
v8::Handle<v8::Value> throwError(V8ErrorType errorType, const String& message, v8::Isolate* isolate) |