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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 429013002: Make Dart_LoadLibrary and Dart_LoadSource take line and column offsets like Dart_LoadScript. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 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 | « runtime/vm/service.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index 666a85384c40c0309d21c049af992d72ce432e37..ee8909b1b959483394578407610dd2370ecb0e90 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -1205,7 +1205,8 @@ UNIT_TEST_CASE(ScriptSnapshot) {
// Load the library.
Dart_Handle import_lib = Dart_LoadLibrary(NewString("dart_import_lib"),
- NewString(kLibScriptChars));
+ NewString(kLibScriptChars),
+ 0, 0);
EXPECT_VALID(import_lib);
// Create a test library and Load up a test script in it.
@@ -1375,7 +1376,8 @@ UNIT_TEST_CASE(ScriptSnapshot2) {
// Load the library.
Dart_Handle import_lib = Dart_LoadLibrary(NewString("dart_import_lib"),
- NewString(kLibScriptChars));
+ NewString(kLibScriptChars),
+ 0, 0);
EXPECT_VALID(import_lib);
// Create a test library and Load up a test script in it.
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698