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

Unified Diff: Source/bindings/core/v8/ScriptValue.h

Issue 1130763006: IDL: Add any support to IDL dictionary and use it in CustomEventInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/bindings/core/v8/ScriptValue.h
diff --git a/Source/bindings/core/v8/ScriptValue.h b/Source/bindings/core/v8/ScriptValue.h
index 47b545371b6b7b91078fa4a2e536a2d02e73e743..6405596cef16b899ad73ba348bd72ce5be9f4aee 100644
--- a/Source/bindings/core/v8/ScriptValue.h
+++ b/Source/bindings/core/v8/ScriptValue.h
@@ -171,6 +171,10 @@ public:
v8::Local<v8::Value> v8Value() const;
v8::Local<v8::Value> v8ValueUnsafe() const;
haraken 2015/05/20 00:43:42 Not related to this CL, this is used only in one p
bashi 2015/05/20 00:52:22 Acknowledged.
+ // Returns v8Value() if a given ScriptState is the same as the
+ // ScriptState which is associated with this ScriptValue. Otherwise
+ // this "clones" the v8 value and returns it.
+ v8::Local<v8::Value> v8ValueFor(ScriptState*);
bool toString(String&) const;

Powered by Google App Engine
This is Rietveld 408576698