Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index ed01532303b6231714103942ce1eb30610b828b6..90e0b356611849616de50d9e419cb9fa68263d4d 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -11662,7 +11662,7 @@ THREADED_TEST(PixelArray) { |
} |
HEAP->CollectAllGarbage(false); // Force GC to trigger verification. |
for (int i = 0; i < kElementCount; i++) { |
- CHECK_EQ(i % 256, pixels->get(i)); |
+ CHECK_EQ(i % 256, pixels->get_scalar(i)); |
CHECK_EQ(i % 256, pixel_data[i]); |
} |
@@ -12135,7 +12135,8 @@ static void ExternalArrayTestHelper(v8::ExternalArrayType array_type, |
} |
HEAP->CollectAllGarbage(false); // Force GC to trigger verification. |
for (int i = 0; i < kElementCount; i++) { |
- CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(array->get(i))); |
+ CHECK_EQ(static_cast<int64_t>(i), |
+ static_cast<int64_t>(array->get_scalar(i))); |
CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(array_data[i])); |
} |