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

Unified Diff: test/cctest/test-semaphore.cc

Issue 462033002: Fix newly discovered presubmit errors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: More of the same. Created 6 years, 4 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 | « test/cctest/test-lockers.cc ('k') | test/cctest/test-thread-termination.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-semaphore.cc
diff --git a/test/cctest/test-semaphore.cc b/test/cctest/test-semaphore.cc
index 3a8a3a1b8711306a66acb9621677646b0e086e12..c7fca519dcfdd8432e1fcb77b1a56501b1b4c310 100644
--- a/test/cctest/test-semaphore.cc
+++ b/test/cctest/test-semaphore.cc
@@ -39,7 +39,7 @@ using namespace ::v8::internal;
class WaitAndSignalThread V8_FINAL : public v8::base::Thread {
public:
explicit WaitAndSignalThread(v8::base::Semaphore* semaphore)
- : Thread("WaitAndSignalThread"), semaphore_(semaphore) {}
+ : Thread(Options("WaitAndSignalThread")), semaphore_(semaphore) {}
virtual ~WaitAndSignalThread() {}
virtual void Run() V8_OVERRIDE {
@@ -117,7 +117,7 @@ static v8::base::Semaphore used_space(0);
class ProducerThread V8_FINAL : public v8::base::Thread {
public:
- ProducerThread() : Thread("ProducerThread") {}
+ ProducerThread() : Thread(Options("ProducerThread")) {}
virtual ~ProducerThread() {}
virtual void Run() V8_OVERRIDE {
@@ -132,7 +132,7 @@ class ProducerThread V8_FINAL : public v8::base::Thread {
class ConsumerThread V8_FINAL : public v8::base::Thread {
public:
- ConsumerThread() : Thread("ConsumerThread") {}
+ ConsumerThread() : Thread(Options("ConsumerThread")) {}
virtual ~ConsumerThread() {}
virtual void Run() V8_OVERRIDE {
« no previous file with comments | « test/cctest/test-lockers.cc ('k') | test/cctest/test-thread-termination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698