Index: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
index 7e3b532277e8fb3c9bbeac5a85eed156015d9bc2..f3ed5b3764ebcaf47cc060b854aed36939aa115a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h |
@@ -87,6 +87,9 @@ public: |
return callExtraHelper(scriptState, name, N, args).ToLocalChecked(); |
} |
+ // Use V8ThrowException instead of this function unless absolutely needed. |
+ static void throwException(v8::Isolate*, v8::Local<v8::Value> exception, const v8::ScriptOrigin&); |
+ |
private: |
static v8::MaybeLocal<v8::Value> callExtraHelper(ScriptState* scriptState, const char* name, size_t numArgs, v8::Local<v8::Value>* args) |
{ |