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

Unified Diff: vm/unit_test.cc

Issue 10387061: Resubmit change 7506. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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 | « vm/dart_api_impl_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.cc
===================================================================
--- vm/unit_test.cc (revision 7508)
+++ vm/unit_test.cc (working copy)
@@ -105,9 +105,11 @@
Dart_Handle import_map) {
Dart_Handle url = Dart_NewString(TestCase::url());
Dart_Handle source = Dart_NewString(script);
- Dart_Handle lib = Dart_LoadScript(url, source, LibraryTagHandler, import_map);
+ Dart_Handle result = Dart_SetLibraryTagHandler(LibraryTagHandler);
+ EXPECT_VALID(result);
+ Dart_Handle lib = Dart_LoadScript(url, source, import_map);
DART_CHECK_VALID(lib);
- Dart_Handle result = Dart_SetNativeResolver(lib, resolver);
+ result = Dart_SetNativeResolver(lib, resolver);
DART_CHECK_VALID(result);
return lib;
}
« no previous file with comments | « vm/dart_api_impl_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698