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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1947393003: - Use a map to lookup libraries by URL. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « runtime/vm/snapshot.cc ('k') | runtime/vm/stack_frame_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 3bc4561bfc3d0072d8017ed6c0d11b1a40dcfcea..6a028b863581ecb42c3235ede4c093127bfb62b6 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -950,7 +950,7 @@ TEST_CASE(SerializeScript) {
RawScript::kScriptTag));
const String& lib_url = String::Handle(zone, Symbols::New(thread, "TestLib"));
Library& lib = Library::Handle(zone, Library::New(lib_url));
- lib.Register();
+ lib.Register(thread);
EXPECT(CompilerTest::TestCompileScript(lib, script));
// Write snapshot with script content.
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | runtime/vm/stack_frame_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698