| Index: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
|
| index 127ce2df9192e1a5ccfe15611cebc924ecb6e01f..51531b9d2c7fcec9f686dc8dfb07e62d75486203 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
|
| @@ -400,6 +400,8 @@ void installMethodInternal(
|
| v8::FunctionTemplate::New(isolate, callback, v8::Local<v8::Value>(),
|
| signature, method.length);
|
| functionTemplate->RemovePrototype();
|
| + if (method.accessCheckConfiguration == V8DOMConfiguration::CheckAccess)
|
| + functionTemplate->SetAcceptAnyReceiver(false);
|
| v8::Local<v8::Function> function =
|
| functionTemplate->GetFunction(isolate->GetCurrentContext())
|
| .ToLocalChecked();
|
|
|