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

Unified Diff: runtime/vm/port.cc

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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_test.cc ('k') | runtime/vm/port_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/port.cc
diff --git a/runtime/vm/port.cc b/runtime/vm/port.cc
index d5513d598ac2c984a3751775d3dbd0fced91f909..20a142dd8262d5ff2078368bff3b6baf13cd652f 100644
--- a/runtime/vm/port.cc
+++ b/runtime/vm/port.cc
@@ -112,11 +112,12 @@ void PortMap::SetPortState(Dart_Port port, PortState state) {
map_[index].handler->increment_live_ports();
}
if (FLAG_trace_isolates) {
- OS::Print("[^] Port (%s) -> (%s): \n"
- "\thandler: %s\n"
- "\tport: %" Pd64 "\n",
- PortStateString(old_state), PortStateString(state),
- map_[index].handler->name(), port);
+ OS::Print(
+ "[^] Port (%s) -> (%s): \n"
+ "\thandler: %s\n"
+ "\tport: %" Pd64 "\n",
+ PortStateString(old_state), PortStateString(state),
+ map_[index].handler->name(), port);
}
}
@@ -174,10 +175,11 @@ Dart_Port PortMap::CreatePort(MessageHandler* handler) {
MaintainInvariants();
if (FLAG_trace_isolates) {
- OS::Print("[+] Opening port: \n"
- "\thandler: %s\n"
- "\tport: %" Pd64 "\n",
- handler->name(), entry.port);
+ OS::Print(
+ "[+] Opening port: \n"
+ "\thandler: %s\n"
+ "\tport: %" Pd64 "\n",
+ handler->name(), entry.port);
}
return entry.port;
« no previous file with comments | « runtime/vm/parser_test.cc ('k') | runtime/vm/port_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698