| Index: third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
|
| index ba696d11f440bc4c8a593d0f3622e2d1c033b608..153818bbed68b452a466f2d3a9340a7fea805d75 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
|
| @@ -40,6 +40,7 @@ namespace blink {
|
| class DOMWindow;
|
| class EventTarget;
|
| class ExceptionState;
|
| +class ExecutionContext;
|
| class Frame;
|
| class LocalDOMWindow;
|
| class Location;
|
| @@ -72,7 +73,9 @@ public:
|
| static bool shouldAllowAccessTo(v8::Isolate*, const LocalDOMWindow* accessingWindow, const Location* target, ExceptionState&);
|
| static bool shouldAllowAccessTo(v8::Isolate*, const LocalDOMWindow* accessingWindow, const Location* target, SecurityReportingOption);
|
| // MainThreadWorkletGlobalScope
|
| - static bool shouldAllowAccessTo(v8::Isolate*, const LocalDOMWindow* accessingWindow, const MainThreadWorkletGlobalScope* target, SecurityReportingOption);
|
| + static bool shouldAllowAccessTo(v8::Isolate*, v8::Local<v8::Context>, const ExecutionContext*, const MainThreadWorkletGlobalScope*, SecurityReportingOption);
|
| +
|
| + static bool shouldAllowAccessTo(v8::Isolate*, v8::Local<v8::Context> calling, v8::Local<v8::Context> target, SecurityReportingOption);
|
| // Prefer to use the previous overloads instead of falling back to using
|
| // Frame*.
|
| static bool shouldAllowAccessToFrame(v8::Isolate*, const LocalDOMWindow* accessingWindow, const Frame* target, SecurityReportingOption); // OBSOLETE
|
|
|