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

Unified Diff: Source/platform/graphics/filters/ParallelJobs.h

Issue 464273002: Cleanup namespace usage in platform/graphics/[filters/* to skia/*] and platform/graphics/[B-D]* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/platform/graphics/filters/ParallelJobs.h
diff --git a/Source/platform/graphics/filters/ParallelJobs.h b/Source/platform/graphics/filters/ParallelJobs.h
index d93732ba10a1eb36cf7670b63c2e54e1800acfe4..1c1a38e5fa8aef4ee754c897397415c585adb3b5 100644
--- a/Source/platform/graphics/filters/ParallelJobs.h
+++ b/Source/platform/graphics/filters/ParallelJobs.h
@@ -64,11 +64,11 @@ public:
ParallelJobs(WorkerFunction func, size_t requestedJobNumber)
: m_func(func)
{
- size_t numberOfJobs = std::max(static_cast<size_t>(2), std::min(requestedJobNumber, blink::Platform::current()->numberOfProcessors()));
+ size_t numberOfJobs = std::max(static_cast<size_t>(2), std::min(requestedJobNumber, Platform::current()->numberOfProcessors()));
m_parameters.grow(numberOfJobs);
// The main thread can execute one job, so only create requestJobNumber - 1 threads.
for (size_t i = 0; i < numberOfJobs - 1; ++i) {
- OwnPtr<blink::WebThread> thread = adoptPtr(blink::Platform::current()->createThread("Unfortunate parallel worker"));
+ OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("Unfortunate parallel worker"));
m_threads.append(thread.release());
}
}
@@ -93,7 +93,7 @@ public:
private:
WorkerFunction m_func;
- Vector<OwnPtr<blink::WebThread> > m_threads;
+ Vector<OwnPtr<WebThread> > m_threads;
Vector<Type> m_parameters;
};
« no previous file with comments | « Source/platform/graphics/filters/FilterOperationsTest.cpp ('k') | Source/platform/graphics/filters/ReferenceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698