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

Unified Diff: Source/bindings/v8/ScriptString.h

Issue 23450039: Pass isolate to ScriptValue constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove useless member Created 7 years, 3 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/v8/ScriptString.h
diff --git a/Source/bindings/v8/ScriptString.h b/Source/bindings/v8/ScriptString.h
index 14467c7eb9feb0e4c7780ef86d013820b5f2174f..6dcb68c5b5720618d7adaad3613a510af30db78f 100644
--- a/Source/bindings/v8/ScriptString.h
+++ b/Source/bindings/v8/ScriptString.h
@@ -40,7 +40,7 @@ namespace WebCore {
class ScriptString : public ScriptValue {
public:
ScriptString() { }
- explicit ScriptString(v8::Handle<v8::String> value) : ScriptValue(value) { }
+ explicit ScriptString(v8::Handle<v8::String> value) : ScriptValue(value, v8::Isolate::GetCurrent()) { }
haraken 2013/09/16 16:39:53 Ditto.
do-not-use 2013/09/17 06:52:13 Added a FIXME comment for now.
ScriptString concatenateWith(const String&);
String flattenToString() const;

Powered by Google App Engine
This is Rietveld 408576698