Index: third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp |
index 5c57a9a0909c72f59620f6b6abc204d8f63732da..f9aef8bfad6b7a04ff403c0c05edc22af0b9b110 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp |
@@ -158,4 +158,9 @@ v8::Local<v8::Value> V8ThrowException::throwException(v8::Local<v8::Value> excep |
return v8::Undefined(isolate); |
} |
+v8::Local<v8::Value> V8ThrowException::throwIllegalConstructorTypeError(v8::Isolate* isolate) |
+{ |
+ return V8ThrowException::throwTypeError(isolate, "Illegal constructor"); |
+} |
+ |
} // namespace blink |