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

Unified Diff: src/platform/time.h

Issue 351683009: Remove remaining dependencies on allocation.h from a few platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « src/platform-win32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/time.h
diff --git a/src/platform/time.h b/src/platform/time.h
index 0cd234c3dd5fa21f94840a5f0251d6c137cfe374..d21e85d15a5fcdea271c48448be1a35c09438c78 100644
--- a/src/platform/time.h
+++ b/src/platform/time.h
@@ -8,7 +8,7 @@
#include <time.h>
#include <limits>
-#include "src/allocation.h"
+#include "src/base/macros.h"
// Forward declarations.
extern "C" {
@@ -30,7 +30,7 @@ class TimeTicks;
// This class represents a duration of time, internally represented in
// microseonds.
-class TimeDelta V8_FINAL BASE_EMBEDDED {
+class TimeDelta V8_FINAL {
public:
TimeDelta() : delta_(0) {}
@@ -158,7 +158,7 @@ class TimeDelta V8_FINAL BASE_EMBEDDED {
// This class represents an absolute point in time, internally represented as
// microseconds (s/1,000,000) since 00:00:00 UTC, January 1, 1970.
-class Time V8_FINAL BASE_EMBEDDED {
+class Time V8_FINAL {
public:
static const int64_t kMillisecondsPerSecond = 1000;
static const int64_t kMicrosecondsPerMillisecond = 1000;
@@ -295,7 +295,7 @@ inline Time operator+(const TimeDelta& delta, const Time& time) {
// Time::Now() may actually decrease or jump). But note that TimeTicks may
// "stand still", for example if the computer suspended.
-class TimeTicks V8_FINAL BASE_EMBEDDED {
+class TimeTicks V8_FINAL {
public:
TimeTicks() : ticks_(0) {}
« no previous file with comments | « src/platform-win32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698