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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 18881009: Fix for issue 11770. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl_test.cc
===================================================================
--- runtime/vm/dart_api_impl_test.cc (revision 24883)
+++ runtime/vm/dart_api_impl_test.cc (working copy)
@@ -8031,18 +8031,17 @@
Dart_Handle lib = TestCase::LoadTestScript(kScriptChars, NULL);
Dart_Handle result = Dart_Invoke(lib,
- NewString("testMain"),
- 0,
- NULL);
+ NewString("testMain"),
+ 0,
+ NULL);
const char* expected_str = "constant string";
const intptr_t kExpectedLen = 15;
- int peer = 40;
uint8_t ext_str[kExpectedLen];
Dart_Handle str = Dart_MakeExternalString(result,
ext_str,
kExpectedLen,
- &peer,
- MakeExternalCback);
+ NULL,
+ NULL);
EXPECT(Dart_IsExternalString(str));
for (intptr_t i = 0; i < kExpectedLen; i++) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698