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: src/counters.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index f7ff36b75d53dd44c3cdb13a47b6a564393b8960..540bcbdadbf48999400879c74d3f1746cc9945db 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -7,9 +7,9 @@
#include "include/v8.h"
#include "src/allocation.h"
+#include "src/base/platform/elapsed-timer.h"
#include "src/globals.h"
#include "src/objects.h"
-#include "src/platform/elapsed-timer.h"
namespace v8 {
namespace internal {
@@ -241,11 +241,11 @@ class HistogramTimer : public Histogram {
// TODO(bmeurer): Remove this when HistogramTimerScope is fixed.
#ifdef DEBUG
- ElapsedTimer* timer() { return &timer_; }
+ base::ElapsedTimer* timer() { return &timer_; }
#endif
private:
- ElapsedTimer timer_;
+ base::ElapsedTimer timer_;
};
// Helper class for scoping a HistogramTimer.
« src/base/macros.h ('K') | « src/conversions-inl.h ('k') | src/counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698