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

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

Issue 631133003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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.h ('k') | Source/core/workers/WorkerThreadStartupData.h » ('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 8832399a59bd08bf883af07249593c1d2ea2534f..07054617e440c2a51f813553ab7228acb6e84dc3 100644
--- a/Source/core/workers/WorkerThread.cpp
+++ b/Source/core/workers/WorkerThread.cpp
@@ -58,8 +58,8 @@ const int64 kLongIdleHandlerDelayMs = 10*1000;
class MicrotaskRunner : public WebThread::TaskObserver {
public:
- virtual void willProcessTask() OVERRIDE { }
- virtual void didProcessTask() OVERRIDE
+ virtual void willProcessTask() override { }
+ virtual void didProcessTask() override
{
Microtask::performCheckpoint();
}
@@ -85,7 +85,7 @@ unsigned WorkerThread::workerThreadCount()
return workerThreads().size();
}
-class WorkerThreadCancelableTask FINAL : public ExecutionContextTask {
+class WorkerThreadCancelableTask final : public ExecutionContextTask {
WTF_MAKE_NONCOPYABLE(WorkerThreadCancelableTask); WTF_MAKE_FAST_ALLOCATED;
public:
static PassOwnPtr<WorkerThreadCancelableTask> create(const Closure& closure)
@@ -93,7 +93,7 @@ public:
return adoptPtr(new WorkerThreadCancelableTask(closure));
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
if (!m_taskCanceled)
m_closure();
@@ -188,7 +188,7 @@ public:
virtual ~WorkerThreadTask() { }
- virtual void run() OVERRIDE
+ virtual void run() override
{
WorkerGlobalScope* workerGlobalScope = m_workerThread.workerGlobalScope();
// Tasks could be put on the message loop after the cleanup task,
@@ -221,13 +221,13 @@ private:
bool m_isInstrumented;
};
-class RunDebuggerQueueTask FINAL : public ExecutionContextTask {
+class RunDebuggerQueueTask final : public ExecutionContextTask {
public:
static PassOwnPtr<RunDebuggerQueueTask> create(WorkerThread* thread)
{
return adoptPtr(new RunDebuggerQueueTask(thread));
}
- virtual void performTask(ExecutionContext* context) OVERRIDE
+ virtual void performTask(ExecutionContext* context) override
{
ASSERT(context->isWorkerGlobalScope());
m_thread->runDebuggerTask(WorkerThread::DontWaitForMessage);
« no previous file with comments | « Source/core/workers/WorkerScriptLoader.h ('k') | Source/core/workers/WorkerThreadStartupData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698