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

Unified Diff: src/assert-scope.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
« no previous file with comments | « src/assembler.cc ('k') | src/base/build_config.h » ('j') | src/base/cpu.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assert-scope.h
diff --git a/src/assert-scope.h b/src/assert-scope.h
index 14e1194ba5cf92cfd7bcebc57ab8d54663f7e9ea..7e1bc7792785231dae5855e07daa236459c4a073 100644
--- a/src/assert-scope.h
+++ b/src/assert-scope.h
@@ -6,7 +6,7 @@
#define V8_ASSERT_SCOPE_H_
#include "src/allocation.h"
-#include "src/platform.h"
+#include "src/base/platform/platform.h"
#include "src/utils.h"
namespace v8 {
@@ -81,16 +81,16 @@ class PerThreadAssertScopeBase {
static PerThreadAssertData* GetAssertData() {
return reinterpret_cast<PerThreadAssertData*>(
- Thread::GetThreadLocal(thread_local_key));
+ base::Thread::GetThreadLocal(thread_local_key));
}
- static Thread::LocalStorageKey thread_local_key;
+ static base::Thread::LocalStorageKey thread_local_key;
PerThreadAssertData* data_;
friend class Isolate;
private:
static void SetThreadLocalData(PerThreadAssertData* data) {
- Thread::SetThreadLocal(thread_local_key, data);
+ base::Thread::SetThreadLocal(thread_local_key, data);
}
};
« no previous file with comments | « src/assembler.cc ('k') | src/base/build_config.h » ('j') | src/base/cpu.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698