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

Unified Diff: Source/core/workers/WorkerThread.cpp

Issue 1111173002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporating Review Comments Created 5 years, 8 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 | « Source/core/workers/WorkerScriptLoader.cpp ('k') | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThread.cpp
diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp
index f59a49182a66ff3dcd4b57653f081d209767d181..582cea2e119295098317f079b0dec299968de73d 100644
--- a/Source/core/workers/WorkerThread.cpp
+++ b/Source/core/workers/WorkerThread.cpp
@@ -195,7 +195,7 @@ private:
WeakPtr<WorkerThreadCancelableTask> m_lastQueuedTask;
};
-class WorkerThreadTask : public blink::WebThread::Task {
+class WorkerThreadTask : public WebThread::Task {
WTF_MAKE_NONCOPYABLE(WorkerThreadTask); WTF_MAKE_FAST_ALLOCATED(WorkerThreadTask);
public:
static PassOwnPtr<WorkerThreadTask> create(WorkerThread& workerThread, PassOwnPtr<ExecutionContextTask> task, bool isInstrumented)
@@ -263,8 +263,8 @@ WorkerThread::WorkerThread(const char* threadName, PassRefPtr<WorkerLoaderProxy>
, m_workerReportingProxy(workerReportingProxy)
, m_startupData(startupData)
, m_isolate(nullptr)
- , m_shutdownEvent(adoptPtr(blink::Platform::current()->createWaitableEvent()))
- , m_terminationEvent(adoptPtr(blink::Platform::current()->createWaitableEvent()))
+ , m_shutdownEvent(adoptPtr(Platform::current()->createWaitableEvent()))
+ , m_terminationEvent(adoptPtr(Platform::current()->createWaitableEvent()))
{
MutexLocker lock(threadSetMutex());
workerThreads().add(this);
@@ -484,13 +484,13 @@ void WorkerThread::stopInternal()
void WorkerThread::didStartRunLoop()
{
ASSERT(isCurrentThread());
- blink::Platform::current()->didStartWorkerRunLoop();
+ Platform::current()->didStartWorkerRunLoop();
}
void WorkerThread::didStopRunLoop()
{
ASSERT(isCurrentThread());
- blink::Platform::current()->didStopWorkerRunLoop();
+ Platform::current()->didStopWorkerRunLoop();
}
void WorkerThread::terminateAndWaitForAllWorkers()
@@ -583,8 +583,8 @@ MessageQueueWaitResult WorkerThread::runDebuggerTask(WaitMode waitMode)
{
ASSERT(isCurrentThread());
MessageQueueWaitResult result;
- double absoluteTime = MessageQueue<blink::WebThread::Task>::infiniteTime();
- OwnPtr<blink::WebThread::Task> task;
+ double absoluteTime = MessageQueue<WebThread::Task>::infiniteTime();
+ OwnPtr<WebThread::Task> task;
{
if (waitMode == DontWaitForMessage)
absoluteTime = 0.0;
« no previous file with comments | « Source/core/workers/WorkerScriptLoader.cpp ('k') | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698