Index: third_party/WebKit/Source/core/frame/DOMWindow.h |
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.h b/third_party/WebKit/Source/core/frame/DOMWindow.h |
index 128b40a608e5eb4745d36691ce2448d0bda04315..832d784206214a1ce92f1944ba4af9cd6e8fc395 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMWindow.h |
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.h |
@@ -114,9 +114,13 @@ class CORE_EXPORT DOMWindow : public EventTargetWithInlineData, |
virtual void setDefaultStatus(const String&) = 0; |
// Self-referential attributes |
- DOMWindow* self() const; |
- DOMWindow* window() const { return self(); } |
- DOMWindow* frames() const { return self(); } |
+ v8::Local<v8::Object> self(ScriptState*) const; |
+ v8::Local<v8::Object> window(ScriptState* scriptState) const { |
+ return self(scriptState); |
+ } |
+ v8::Local<v8::Object> frames(ScriptState* scriptState) const { |
+ return self(scriptState); |
+ } |
DOMWindow* opener() const; |
DOMWindow* parent() const; |