| Index: Source/bindings/v8/BindingSecurity.h
|
| diff --git a/Source/bindings/v8/BindingSecurity.h b/Source/bindings/v8/BindingSecurity.h
|
| index 66db9920142a2f2c282e03578f0b85e6a5a2f78e..5f4731e3eeca91fe6aa649058d34871f378209e9 100644
|
| --- a/Source/bindings/v8/BindingSecurity.h
|
| +++ b/Source/bindings/v8/BindingSecurity.h
|
| @@ -31,6 +31,8 @@
|
| #ifndef BindingSecurity_h
|
| #define BindingSecurity_h
|
|
|
| +// FIXME: The LocalFrame include should not be necessary, clients should be including it where they use it.
|
| +#include "core/frame/LocalFrame.h"
|
| #include "wtf/text/WTFString.h"
|
| #include <v8.h>
|
|
|
| @@ -38,7 +40,6 @@ namespace WebCore {
|
|
|
| class DOMWindow;
|
| class ExceptionState;
|
| -class LocalFrame;
|
| class Node;
|
|
|
| enum SecurityReportingOption {
|
| @@ -49,8 +50,8 @@ enum SecurityReportingOption {
|
| class BindingSecurity {
|
| public:
|
| static bool shouldAllowAccessToNode(v8::Isolate*, Node*, ExceptionState&);
|
| - static bool shouldAllowAccessToFrame(v8::Isolate*, LocalFrame*, SecurityReportingOption = ReportSecurityError);
|
| - static bool shouldAllowAccessToFrame(v8::Isolate*, LocalFrame*, ExceptionState&);
|
| + static bool shouldAllowAccessToFrame(v8::Isolate*, Frame*, SecurityReportingOption = ReportSecurityError);
|
| + static bool shouldAllowAccessToFrame(v8::Isolate*, Frame*, ExceptionState&);
|
| };
|
|
|
| }
|
|
|