Index: test/cctest/test-liveedit.cc |
diff --git a/test/cctest/test-liveedit.cc b/test/cctest/test-liveedit.cc |
index 1086af0c9b8d2c5484f125796dd81500a0ca25a6..11d20eaaadca98a8ec68ff2f4d6aaa71b5f75ebc 100644 |
--- a/test/cctest/test-liveedit.cc |
+++ b/test/cctest/test-liveedit.cc |
@@ -95,12 +95,18 @@ void CompareStringsOneWay(const char* s1, const char* s2, |
int expected_diff_parameter = -1) { |
StringCompareInput input(s1, s2); |
- ZoneScope zone_scope(Isolate::Current(), DELETE_ON_EXIT); |
+ Isolate* isolate = Isolate::Current(); |
+ ZoneScope zone_scope(isolate, DELETE_ON_EXIT); |
DiffChunkStruct* first_chunk; |
ListDiffOutputWriter writer(&first_chunk); |
- Comparator::CalculateDifference(&input, &writer); |
+ { |
+ MaybeObject* maybe_result = |
+ Comparator::CalculateDifference(&input, &writer, isolate); |
+ ASSERT_EQ(maybe_result->IsFailure(), false); |
+ USE(maybe_result); |
+ } |
int len1 = StrLength(s1); |
int len2 = StrLength(s2); |