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

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: Address review feedback. 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
« no previous file with comments | « runtime/vm/service_test.cc ('k') | runtime/vm/stub_code_arm64_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 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));
« no previous file with comments | « runtime/vm/service_test.cc ('k') | runtime/vm/stub_code_arm64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698