Chromium Code Reviews| Index: bin/main.cc |
| =================================================================== |
| --- bin/main.cc (revision 6767) |
| +++ bin/main.cc (working copy) |
| @@ -582,10 +582,7 @@ |
| } |
| } |
| // Lookup and invoke the top level main function. |
| - result = Dart_InvokeStatic(library, |
| - Dart_NewString(""), |
| - Dart_NewString("main"), |
| - 0, NULL); |
| + result = Dart_Invoke(library, Dart_NewString("main"), 0, NULL); |
| if (Dart_IsError(result)) { |
| return ErrorExit("%s\n", Dart_GetError(result)); |
| } |