Index: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp |
index 42cd4c8af52b6fa3dbf4a17735dc7675e53f3817..0ae6702999d2241f808356f254abba635b0183fc 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp |
@@ -232,8 +232,8 @@ static void promiseRejectHandler(v8::PromiseRejectMessage data, |
// DOMException). |
ASSERT(exception->IsObject()); |
auto privateError = V8PrivateProperty::getDOMExceptionError(isolate); |
- v8::Local<v8::Value> error = privateError.getOrUndefined( |
- scriptState->context(), exception.As<v8::Object>()); |
+ v8::Local<v8::Value> error = |
+ privateError.getOrUndefined(exception.As<v8::Object>()); |
if (!error->IsUndefined()) |
exception = error; |
} |