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

Unified Diff: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/platform/WebThreadSupportingGC.cpp
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
index 217a7e5fce086df16bc48987c8a5830175a5c6c5..bc4ffa7b46ad0268326903c839c7caf102347074 100644
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
@@ -15,13 +15,15 @@ namespace blink {
std::unique_ptr<WebThreadSupportingGC> WebThreadSupportingGC::create(
const char* name,
BlinkGC::ThreadHeapMode threadHeapMode) {
- return wrapUnique(new WebThreadSupportingGC(name, nullptr, threadHeapMode));
+ return WTF::wrapUnique(
+ new WebThreadSupportingGC(name, nullptr, threadHeapMode));
}
std::unique_ptr<WebThreadSupportingGC> WebThreadSupportingGC::createForThread(
WebThread* thread,
BlinkGC::ThreadHeapMode threadHeapMode) {
- return wrapUnique(new WebThreadSupportingGC(nullptr, thread, threadHeapMode));
+ return WTF::wrapUnique(
+ new WebThreadSupportingGC(nullptr, thread, threadHeapMode));
}
WebThreadSupportingGC::WebThreadSupportingGC(
@@ -37,7 +39,7 @@ WebThreadSupportingGC::WebThreadSupportingGC(
#endif
if (!m_thread) {
// If |thread| is not given, create a new one and own it.
- m_owningThread = wrapUnique(Platform::current()->createThread(name));
+ m_owningThread = WTF::wrapUnique(Platform::current()->createThread(name));
m_thread = m_owningThread.get();
}
}
@@ -52,7 +54,7 @@ WebThreadSupportingGC::~WebThreadSupportingGC() {
void WebThreadSupportingGC::initialize() {
ThreadState::attachCurrentThread(m_threadHeapMode);
- m_gcTaskRunner = makeUnique<GCTaskRunner>(m_thread);
+ m_gcTaskRunner = WTF::makeUnique<GCTaskRunner>(m_thread);
}
void WebThreadSupportingGC::shutdown() {

Powered by Google App Engine
This is Rietveld 408576698