Index: Source/bindings/v8/V8Callback.h |
diff --git a/Source/bindings/v8/V8Callback.h b/Source/bindings/v8/V8Callback.h |
index 45c1660e6542ce1c1c1e99b8e81e89fb34e519ce..c17cf7fe8112477323a3265841ee833c0b9d2021 100644 |
--- a/Source/bindings/v8/V8Callback.h |
+++ b/Source/bindings/v8/V8Callback.h |
@@ -64,7 +64,7 @@ PassRefPtr<V8CallbackType> createFunctionOnlyCallback(v8::Local<v8::Value> value |
if (!value->IsFunction()) { |
succeeded = false; |
- setDOMException(TYPE_MISMATCH_ERR, isolate); |
+ setDOMException(TypeMismatchError, isolate); |
return 0; |
} |