Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart_api_impl_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index 0dbbccd07a226a6abd3e7519a3371628bfa01f89..54c51334a2b96ffabdc0aad574c9d636ce9453a6 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -7395,7 +7395,7 @@ TEST_CASE(ExternalStringDeoptimize) {
" var result = 0;\n"
" for (var i = 0; i < s.length; i++) {\n"
" if (b && i == 0) A.change_str(str);\n"
- " result += s.charCodeAt(i);"
+ " result += s.codeUnitAt(i);"
" }\n"
" return result;\n"
"}\n"

Powered by Google App Engine
This is Rietveld 408576698