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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8ThrowException.cpp

Issue 1952893003: Implement custom element construction and some 'define' checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use DCHECK, revert RuntimeEnabledFeatures.in. Created 4 years, 7 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: 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

Powered by Google App Engine
This is Rietveld 408576698