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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.h

Issue 1682423002: Remove WebWaitableEvent and replace it with WaitableEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 4 years, 10 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: third_party/WebKit/Source/core/workers/WorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h
index 1a4f8b06a2ba4bd9cd7b43102956a8e48a972bfb..b39d8bf1ee41d3efc17c4861e6829a11a5642bd2 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h
@@ -42,7 +42,7 @@
namespace blink {
-class WebWaitableEvent;
+class WaitableEvent;
class WorkerGlobalScope;
class WorkerInspectorController;
class WorkerMicrotaskRunner;
@@ -77,7 +77,7 @@ public:
// Can be used to wait for this worker thread to shut down.
// (This is signaled on the main thread, so it's assumed to be waited on
// the worker context thread)
- WebWaitableEvent* shutdownEvent() { return m_shutdownEvent.get(); }
+ WaitableEvent* shutdownEvent() { return m_shutdownEvent.get(); }
// Called in shutdown sequence. Internally calls terminate() (or
// terminateInternal) and wait (by *blocking* the calling thread) until the
@@ -175,10 +175,10 @@ private:
v8::Isolate* m_isolate;
// Used to signal thread shutdown.
- OwnPtr<WebWaitableEvent> m_shutdownEvent;
+ OwnPtr<WaitableEvent> m_shutdownEvent;
// Used to signal thread termination.
- OwnPtr<WebWaitableEvent> m_terminationEvent;
+ OwnPtr<WaitableEvent> m_terminationEvent;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698