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

Unified Diff: src/counters.h

Issue 277913002: Presubmit checks recover. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing Created 6 years, 7 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/assembler.h ('k') | src/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 18a9aef29ba67ccd1e1aaad86b6f5a556cfa5636..9f1cd370e0082f8516d80ce9ea6977dd9c619c5e 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -265,11 +265,12 @@ class HistogramTimerScope BASE_EMBEDDED {
} else {
timer_->Start();
}
+ }
#else
: timer_(timer) {
timer_->Start();
-#endif
}
+#endif
~HistogramTimerScope() {
#ifdef DEBUG
if (!skipped_timer_start_) {
@@ -279,6 +280,7 @@ class HistogramTimerScope BASE_EMBEDDED {
timer_->Stop();
#endif
}
+
private:
HistogramTimer* timer_;
#ifdef DEBUG
« no previous file with comments | « src/assembler.h ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698