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

Unified Diff: runtime/vm/stack_frame_test.cc

Issue 11318018: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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/stack_frame_test.cc
===================================================================
--- runtime/vm/stack_frame_test.cc (revision 14314)
+++ runtime/vm/stack_frame_test.cc (working copy)
@@ -240,8 +240,8 @@
Dart_Handle lib = TestCase::LoadTestScript(
kScriptChars,
reinterpret_cast<Dart_NativeEntryResolver>(native_lookup));
- Dart_Handle cls = Dart_GetClass(lib, Dart_NewString("StackFrameTest"));
- EXPECT_VALID(Dart_Invoke(cls, Dart_NewString("testMain"), 0, NULL));
+ Dart_Handle cls = Dart_GetClass(lib, NewString("StackFrameTest"));
+ EXPECT_VALID(Dart_Invoke(cls, NewString("testMain"), 0, NULL));
}
@@ -283,8 +283,8 @@
Dart_Handle lib = TestCase::LoadTestScript(
kScriptChars,
reinterpret_cast<Dart_NativeEntryResolver>(native_lookup));
- Dart_Handle cls = Dart_GetClass(lib, Dart_NewString("StackFrame2Test"));
- EXPECT_VALID(Dart_Invoke(cls, Dart_NewString("testMain"), 0, NULL));
+ Dart_Handle cls = Dart_GetClass(lib, NewString("StackFrame2Test"));
+ EXPECT_VALID(Dart_Invoke(cls, NewString("testMain"), 0, NULL));
}
#endif // TARGET_ARCH_IA32 || TARGET_ARCH_X64.

Powered by Google App Engine
This is Rietveld 408576698