| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index c8023eb65929ceef1144ec414d2750135a21f6a7..d258aca14acae4e52a9a8835f2e90c400e95e5a6 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -2286,9 +2286,10 @@
|
| virtual ScriptValue call(ScriptValue value) OVERRIDE
|
| {
|
| v8::Local<v8::Value> v8Value = value.v8Value();
|
| + v8::Isolate* isolate = value.isolate();
|
| ASSERT(v8Value->IsNumber());
|
| int intValue = v8Value.As<v8::Integer>()->Value();
|
| - ScriptValue result = ScriptValue(ScriptState::current(isolate()), v8::Integer::New(isolate(), intValue + 1));
|
| + ScriptValue result = ScriptValue(value.scriptState(), v8::Integer::New(isolate, intValue + 1));
|
| return result;
|
| }
|
| };
|
|
|