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

Unified Diff: runtime/vm/parser.cc

Issue 1410643008: Get rid of deprecated methods accessing mutator_thread_ instead of current thread (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/object_graph_test.cc ('k') | runtime/vm/report.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 15d13ff57e91c18e16b2249b4439893d590fe8a2..df096ab2d61c13f2749b97abfa96a17292a9f304 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -5810,7 +5810,7 @@ RawObject* Parser::CallLibraryTagHandler(Dart_LibraryTag tag,
// Block class finalization attempts when calling into the library
// tag handler.
I->BlockClassFinalization();
- Api::Scope api_scope(I);
+ Api::Scope api_scope(T);
Dart_Handle result = handler(tag,
Api::NewHandle(I, library_.raw()),
Api::NewHandle(I, url.raw()));
« no previous file with comments | « runtime/vm/object_graph_test.cc ('k') | runtime/vm/report.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698