| Index: third_party/WebKit/Source/core/frame/Location.h
|
| diff --git a/third_party/WebKit/Source/core/frame/Location.h b/third_party/WebKit/Source/core/frame/Location.h
|
| index 2618f7902d3610eb1c71ca63c432991a7089bb46..a075dcaa693c62214f0e821d11aa1a7723cef817 100644
|
| --- a/third_party/WebKit/Source/core/frame/Location.h
|
| +++ b/third_party/WebKit/Source/core/frame/Location.h
|
| @@ -34,6 +34,7 @@
|
| #include "core/CoreExport.h"
|
| #include "core/dom/DOMStringList.h"
|
| #include "wtf/text/WTFString.h"
|
| +#include <v8/include/v8.h>
|
|
|
| namespace blink {
|
|
|
| @@ -117,6 +118,9 @@ class CORE_EXPORT Location final : public GarbageCollected<Location>,
|
| // a hook to change the string conversion behavior of location objects.
|
| ScriptValue valueOf(const ScriptValue& thisObject) { return thisObject; }
|
|
|
| + // v8 wrapper used only for cross-origin accesses.
|
| + v8::Local<v8::Object> crossOriginWrapper(v8::Isolate*);
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| @@ -132,6 +136,7 @@ class CORE_EXPORT Location final : public GarbageCollected<Location>,
|
| const KURL& url() const;
|
|
|
| Member<Frame> m_frame;
|
| + v8::Persistent<v8::Object> m_crossOriginWrapper;
|
| };
|
|
|
| } // namespace blink
|
|
|