Index: test/mjsunit/debug-liveedit-patch-positions.js |
diff --git a/test/mjsunit/debug-liveedit-patch-positions.js b/test/mjsunit/debug-liveedit-patch-positions.js |
index 9e89f1dbe91e0765dbc3bfd5c5e9d5af049789b5..027987f5e7656f6c3f554b9d63a0bfe73b79c733 100644 |
--- a/test/mjsunit/debug-liveedit-patch-positions.js |
+++ b/test/mjsunit/debug-liveedit-patch-positions.js |
@@ -80,7 +80,7 @@ var patch_pos = script.source.indexOf(orig_animal); |
var new_animal_patch = "'Capybara'"; |
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 res = ChooseAnimal(); |