Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index 26dccc88441f892f0851e6f79842bd6407e99957..573addf1b36868ff64fcda061aecaea30a9f3d79 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -943,7 +943,7 @@ TEST_CASE(SerializeScript) { |
Script& script = Script::Handle(Script::New(url, |
source, |
RawScript::kScriptTag)); |
- const String& lib_url = String::Handle(Symbols::New("TestLib")); |
+ const String& lib_url = String::Handle(Symbols::New(thread, "TestLib")); |
Library& lib = Library::Handle(Library::New(lib_url)); |
lib.Register(); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |