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

Unified Diff: runtime/vm/scope_timer.h

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/scavenger_test.cc ('k') | runtime/vm/scopes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scope_timer.h
diff --git a/runtime/vm/scope_timer.h b/runtime/vm/scope_timer.h
index f45854e745744a489e1a21c62afae00fc41b1b87..1266f292793cdced4a671e59dbaf57b8dbed3c97 100644
--- a/runtime/vm/scope_timer.h
+++ b/runtime/vm/scope_timer.h
@@ -13,10 +13,8 @@ namespace dart {
class ScopeTimer : public ValueObject {
public:
explicit ScopeTimer(const char* name, bool enabled = true)
- : enabled_(enabled),
- name_(name),
- start_(0) {
- if (!enabled_) {
+ : enabled_(enabled), name_(name), start_(0) {
+ if (!enabled_) {
return;
}
start_ = OS::GetCurrentTimeMicros();
« no previous file with comments | « runtime/vm/scavenger_test.cc ('k') | runtime/vm/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698