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

Unified Diff: vm/custom_isolate_test.cc

Issue 10021072: Remove the deprecated method invocation and field access apis from the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « include/dart_api.h ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/custom_isolate_test.cc
===================================================================
--- vm/custom_isolate_test.cc (revision 6767)
+++ vm/custom_isolate_test.cc (working copy)
@@ -182,11 +182,7 @@
result = Dart_SetField(lib, Dart_NewString("mainPort"), recv_port);
EXPECT_VALID(result);
- result = Dart_InvokeStatic(lib,
- Dart_NewString(""),
- Dart_NewString(main_),
- 0,
- NULL);
+ result = Dart_Invoke(lib, Dart_NewString(main_), 0, NULL);
EXPECT_VALID(result);
free(const_cast<char*>(main_));
main_ = NULL;
@@ -321,11 +317,7 @@
EXPECT_VALID(lib);
// Run main.
- result = Dart_InvokeStatic(lib,
- Dart_NewString(""),
- Dart_NewString("main"),
- 0,
- NULL);
+ result = Dart_Invoke(lib, Dart_NewString("main"), 0, NULL);
EXPECT_VALID(result);
EXPECT(Dart_IsString(result));
const char* result_str = NULL;
« no previous file with comments | « include/dart_api.h ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698