| Index: fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
|
| diff --git a/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp b/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
|
| index 161487f356f89255048c88801858c5f8c6921050..a8358c4ee9c5a4806b7d379bf033a5cb2d840973 100644
|
| --- a/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
|
| +++ b/fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp
|
| @@ -64,7 +64,7 @@ TEST_F(FXJSV8EmbedderTest, MultipleRutimes) {
|
| {
|
| v8::Local<v8::Context> context1 =
|
| v8::Local<v8::Context>::New(isolate(), global_context1);
|
| - v8::Context::Scope context_scope(context1);
|
| + v8::Context::Scope context_scope1(context1);
|
| ExecuteInCurrentContext(kScript1);
|
| CheckAssignmentInCurrentContext(kExpected1);
|
| }
|
| @@ -73,7 +73,7 @@ TEST_F(FXJSV8EmbedderTest, MultipleRutimes) {
|
| {
|
| v8::Local<v8::Context> context2 =
|
| v8::Local<v8::Context>::New(isolate(), global_context2);
|
| - v8::Context::Scope context_scope(context2);
|
| + v8::Context::Scope context_scope2(context2);
|
| ExecuteInCurrentContext(kScript2);
|
| CheckAssignmentInCurrentContext(kExpected2);
|
| }
|
|
|