| Index: Source/bindings/core/v8/BindingSecurity.h
|
| diff --git a/Source/bindings/core/v8/BindingSecurity.h b/Source/bindings/core/v8/BindingSecurity.h
|
| index 8821dcf205f595428a827dba563c3d43e3d5f6dd..d1756d03cdc95216d35ba1a8f5cf17d031a6ee7d 100644
|
| --- a/Source/bindings/core/v8/BindingSecurity.h
|
| +++ b/Source/bindings/core/v8/BindingSecurity.h
|
| @@ -34,6 +34,7 @@
|
| // FIXME: The LocalFrame include should not be necessary, clients should be including it where they use it.
|
| #include "core/CoreExport.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "wtf/Allocator.h"
|
| #include <v8.h>
|
|
|
| namespace blink {
|
| @@ -47,6 +48,7 @@ enum SecurityReportingOption {
|
| };
|
|
|
| class BindingSecurity {
|
| + STATIC_ONLY(BindingSecurity);
|
| public:
|
| static bool shouldAllowAccessToNode(v8::Isolate*, Node*, ExceptionState&);
|
| CORE_EXPORT static bool shouldAllowAccessToFrame(v8::Isolate*, Frame*, SecurityReportingOption = ReportSecurityError);
|
|
|