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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1955453002: - Use a map to lookup libraries by URL. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix precompiler handling. 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
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index ef7a10cfcc4ba283caffac486b9d9600604f0408..da0e827cb25892b872dbdc5f69df188c265bf8eb 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -944,7 +944,7 @@ TEST_CASE(SerializeScript) {
RawScript::kScriptTag));
const String& lib_url = String::Handle(Symbols::New(thread, "TestLib"));
Library& lib = Library::Handle(Library::New(lib_url));
- lib.Register();
+ lib.Register(thread);
EXPECT(CompilerTest::TestCompileScript(lib, script));
// Write snapshot with script content.

Powered by Google App Engine
This is Rietveld 408576698