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

Unified Diff: runtime/vm/report.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/parser.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/report.cc
diff --git a/runtime/vm/report.cc b/runtime/vm/report.cc
index e65391d5a528053b0e28f2f9c40a203ff3a58711..d09d2a9af954bad1cb297b8efd32a81c44497257 100644
--- a/runtime/vm/report.cc
+++ b/runtime/vm/report.cc
@@ -152,7 +152,7 @@ void Report::MessageV(Kind kind, const Script& script, intptr_t token_pos,
if (kind == kJSWarning) {
TraceJSWarning(script, token_pos, msg);
// Do not print stacktrace if we have not executed Dart code yet.
- if (Isolate::Current()->top_exit_frame_info() != 0) {
+ if (Thread::Current()->top_exit_frame_info() != 0) {
const Stacktrace& stacktrace =
Stacktrace::Handle(Exceptions::CurrentStacktrace());
intptr_t idx = 0;
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698