| 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;
|
| + // 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;
|
|
|
|
|