Index: test/mjsunit/debug-liveedit-2.js |
diff --git a/test/mjsunit/debug-liveedit-2.js b/test/mjsunit/debug-liveedit-2.js |
index f15a2e58a8de33f9ca65afaae2fce9e2ee80297e..94e278089fdb25599e64bce1cfeb0e64d72b3f74 100644 |
--- a/test/mjsunit/debug-liveedit-2.js |
+++ b/test/mjsunit/debug-liveedit-2.js |
@@ -58,7 +58,7 @@ var new_animal_patch = "'Capybara' + p"; |
// because old value of parameter "p" was not saved. |
// Instead it patches ChooseAnimal. |
var change_log = new Array(); |
-Debug.LiveEdit.ApplyPatch(script, patch_pos, orig_animal.length, new_animal_patch, change_log); |
+Debug.LiveEdit.TestApi.ApplySingleChunkPatch(script, patch_pos, orig_animal.length, new_animal_patch, change_log); |
print("Change log: " + JSON.stringify(change_log) + "\n"); |
var new_closure = ChooseAnimal(19); |