| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8ErrorEventCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8ErrorEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8ErrorEventCustom.cpp
|
| index 140d36c2d5242330e9a4ea3932664829924bd679..ade96fbe1c2a1e20b52414692fd0d075e3d5a6e4 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8ErrorEventCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8ErrorEventCustom.cpp
|
| @@ -41,8 +41,7 @@ void V8ErrorEvent::errorAttributeGetterCustom(
|
| v8::Local<v8::Context> context = isolate->GetCurrentContext();
|
|
|
| auto privateError = V8PrivateProperty::getErrorEventError(isolate);
|
| - v8::Local<v8::Value> cachedError =
|
| - privateError.getOrUndefined(context, info.Holder());
|
| + v8::Local<v8::Value> cachedError = privateError.getOrUndefined(info.Holder());
|
| if (!cachedError->IsUndefined()) {
|
| v8SetReturnValue(info, cachedError);
|
| return;
|
| @@ -54,7 +53,7 @@ void V8ErrorEvent::errorAttributeGetterCustom(
|
| v8::Local<v8::Value> errorValue =
|
| error.isEmpty() ? v8::Local<v8::Value>(v8::Null(isolate))
|
| : error.v8Value();
|
| - privateError.set(context, info.Holder(), errorValue);
|
| + privateError.set(info.Holder(), errorValue);
|
| v8SetReturnValue(info, errorValue);
|
| }
|
|
|
|
|