summaryrefslogtreecommitdiff
path: root/fxjs/cjs_global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_global.cpp')
-rw-r--r--fxjs/cjs_global.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp
index efeef56b08..567d54853c 100644
--- a/fxjs/cjs_global.cpp
+++ b/fxjs/cjs_global.cpp
@@ -146,7 +146,8 @@ void CJS_Global::queryprop_static(
ASSERT(property->IsString());
JSSpecialPropQuery<CJS_Global>(
"global",
- v8::Local<v8::String>::New(info.GetIsolate(), property->ToString()),
+ v8::Local<v8::String>::New(info.GetIsolate(),
+ property->ToString(info.GetIsolate())),
info);
}
@@ -157,7 +158,8 @@ void CJS_Global::getprop_static(
ASSERT(property->IsString());
JSSpecialPropGet<CJS_Global>(
"global",
- v8::Local<v8::String>::New(info.GetIsolate(), property->ToString()),
+ v8::Local<v8::String>::New(info.GetIsolate(),
+ property->ToString(info.GetIsolate())),
info);
}
@@ -169,7 +171,8 @@ void CJS_Global::putprop_static(
ASSERT(property->IsString());
JSSpecialPropPut<CJS_Global>(
"global",
- v8::Local<v8::String>::New(info.GetIsolate(), property->ToString()),
+ v8::Local<v8::String>::New(info.GetIsolate(),
+ property->ToString(info.GetIsolate())),
value, info);
}
@@ -180,7 +183,8 @@ void CJS_Global::delprop_static(
ASSERT(property->IsString());
JSSpecialPropDel<CJS_Global>(
"global",
- v8::Local<v8::String>::New(info.GetIsolate(), property->ToString()),
+ v8::Local<v8::String>::New(info.GetIsolate(),
+ property->ToString(info.GetIsolate())),
info);
}