Index: fxjs/fxjs_v8_embeddertest.cpp |
diff --git a/fxjs/fxjs_v8_embeddertest.cpp b/fxjs/fxjs_v8_embeddertest.cpp |
index b33ddca32d95e91c321c728b5d8b6d3aeca0f0b0..71b004c14428ca27e6037d9548ba294ed053009f 100644 |
--- a/fxjs/fxjs_v8_embeddertest.cpp |
+++ b/fxjs/fxjs_v8_embeddertest.cpp |
@@ -26,7 +26,8 @@ class FXJSV8EmbedderTest : public JSEmbedderTest { |
} |
void CheckAssignmentInCurrentContext(double expected) { |
v8::Local<v8::Object> This = FXJS_GetThisObj(isolate()); |
- v8::Local<v8::Value> fred = FXJS_GetObjectElement(isolate(), This, L"fred"); |
+ v8::Local<v8::Value> fred = |
+ FXJS_GetObjectProperty(isolate(), This, L"fred"); |
EXPECT_TRUE(fred->IsNumber()); |
EXPECT_EQ(expected, fred->ToNumber(isolate()->GetCurrentContext()) |
.ToLocalChecked() |