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

Unified Diff: runtime/vm/thread.cc

Issue 2570583002: Added conversion from thread id to intptr that fixes breaking build. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index c09a9f02593c1a6907ba2468cc90bb15dccd5026..c91500be28d31e3e72ff043ba8e76a5a33fb4f88 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -211,7 +211,8 @@ void Thread::InitVMConstants() {
void Thread::PrintJSON(JSONStream* stream) const {
JSONObject jsobj(stream);
jsobj.AddProperty("type", "_Thread");
- jsobj.AddPropertyF("id", "threads/%" Pd64 "", os_thread()->trace_id());
+ jsobj.AddPropertyF("id", "threads/%" Pd64 "",
+ ThreadIdToIntPtr(os_thread()->trace_id()));
zra 2016/12/12 18:20:53 Sorry, I should have noticed that it looks like th
Zone* zone = zone_;
{
JSONArray zone_info_array(&jsobj, "zones");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698