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

Unified Diff: src/objects-printer.cc

Issue 2606093002: [promises] Refactor debug code (Closed)
Patch Set: fix stuff Created 3 years, 12 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 | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index a50ead200ede70597687d29624749a66a19a78e1..8937725a38d57478b8e69a4d4bbd4509db5db871 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -1224,8 +1224,8 @@ void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoPrint(
os << "\n - then: " << Brief(then());
os << "\n - resolve: " << Brief(resolve());
os << "\n - reject: " << Brief(reject());
- os << "\n - debug id: " << Brief(debug_id());
- os << "\n - debug name: " << Brief(debug_name());
+ os << "\n - debug id: " << debug_id();
+ os << "\n - debug name: " << debug_name();
os << "\n - context: " << Brief(context());
os << "\n";
}
@@ -1239,8 +1239,8 @@ void PromiseReactionJobInfo::PromiseReactionJobInfoPrint(
os << "\n - deferred_promise: " << Brief(deferred_promise());
os << "\n - deferred_on_resolve: " << Brief(deferred_on_resolve());
os << "\n - deferred_on_reject: " << Brief(deferred_on_reject());
- os << "\n - debug id: " << Brief(debug_id());
- os << "\n - debug name: " << Brief(debug_name());
+ os << "\n - debug id: " << debug_id();
+ os << "\n - debug name: " << debug_name();
os << "\n - reaction context: " << Brief(context());
os << "\n";
}
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698