| Index: test/cctest/test-libplatform.h
|
| diff --git a/test/cctest/test-libplatform.h b/test/cctest/test-libplatform.h
|
| index 815031619e199ad8be5662af075b135695f9e7e4..6e8d2b17c9b3e241101ad156221559f19c5590fb 100644
|
| --- a/test/cctest/test-libplatform.h
|
| +++ b/test/cctest/test-libplatform.h
|
| @@ -40,22 +40,22 @@ class TaskCounter {
|
| ~TaskCounter() { CHECK_EQ(0, counter_); }
|
|
|
| int GetCount() const {
|
| - LockGuard<Mutex> guard(&lock_);
|
| + v8::base::LockGuard<v8::base::Mutex> guard(&lock_);
|
| return counter_;
|
| }
|
|
|
| void Inc() {
|
| - LockGuard<Mutex> guard(&lock_);
|
| + v8::base::LockGuard<v8::base::Mutex> guard(&lock_);
|
| ++counter_;
|
| }
|
|
|
| void Dec() {
|
| - LockGuard<Mutex> guard(&lock_);
|
| + v8::base::LockGuard<v8::base::Mutex> guard(&lock_);
|
| --counter_;
|
| }
|
|
|
| private:
|
| - mutable Mutex lock_;
|
| + mutable v8::base::Mutex lock_;
|
| int counter_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TaskCounter);
|
| @@ -93,7 +93,7 @@ class TestTask : public v8::Task {
|
| };
|
|
|
|
|
| -class TestWorkerThread : public Thread {
|
| +class TestWorkerThread : public v8::base::Thread {
|
| public:
|
| explicit TestWorkerThread(v8::Task* task)
|
| : Thread("libplatform TestWorkerThread"), semaphore_(0), task_(task) {}
|
| @@ -111,7 +111,7 @@ class TestWorkerThread : public Thread {
|
| }
|
|
|
| private:
|
| - Semaphore semaphore_;
|
| + v8::base::Semaphore semaphore_;
|
| v8::Task* task_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestWorkerThread);
|
|
|