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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 1870343002: - Refactor Symbol allocation to expect a thread parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 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));

Powered by Google App Engine
This is Rietveld 408576698