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

Unified Diff: src/libplatform/task-queue.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/libplatform/task-queue.h
diff --git a/src/libplatform/task-queue.h b/src/libplatform/task-queue.h
index 140366427e64d80318e9a7d5e1533996a3ab6c47..f438cb54643293a1c72b5d5dd2bec210bc98475c 100644
--- a/src/libplatform/task-queue.h
+++ b/src/libplatform/task-queue.h
@@ -8,8 +8,8 @@
#include <queue>
#include "src/base/macros.h"
-#include "src/platform/mutex.h"
-#include "src/platform/semaphore.h"
+#include "src/base/platform/mutex.h"
+#include "src/base/platform/semaphore.h"
namespace v8 {
@@ -33,8 +33,8 @@ class TaskQueue {
void Terminate();
private:
- Mutex lock_;
- Semaphore process_queue_semaphore_;
+ base::Mutex lock_;
+ base::Semaphore process_queue_semaphore_;
std::queue<Task*> task_queue_;
bool terminated_;

Powered by Google App Engine
This is Rietveld 408576698