Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: Source/core/frame/Location.h

Issue 1035023005: [bindings] Support CallWith=ThisValue for generic interface methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/Location.h
diff --git a/Source/core/frame/Location.h b/Source/core/frame/Location.h
index 1ad7e3854359154db9728146485d3b8bfc679908..c530775daa6935f9500c4a97a4ed037d730ab71e 100644
--- a/Source/core/frame/Location.h
+++ b/Source/core/frame/Location.h
@@ -29,6 +29,7 @@
#ifndef Location_h
#define Location_h
+#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMStringList.h"
#include "core/frame/DOMWindowProperty.h"
@@ -81,6 +82,8 @@ public:
String hash() const;
String origin() const;
+ ScriptValue valueOf(const ScriptValue& thisObject) { return thisObject; }
+
PassRefPtrWillBeRawPtr<DOMStringList> ancestorOrigins() const;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698