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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerTest.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/core/workers/DedicatedWorkerTest.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp
index 3e35ff5b92338ae44f52ffdaa801f1783b43cd93..85b1f075b65e0c8347ad1f62afbf1e471f46eff4 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp
@@ -67,8 +67,8 @@ class InProcessWorkerMessagingProxyForTest
workerObjectProxy().m_maxIntervalInSec = kMaxIntervalInSec;
m_mockWorkerLoaderProxyProvider =
- makeUnique<MockWorkerLoaderProxyProvider>();
- m_workerThread = wrapUnique(
+ WTF::makeUnique<MockWorkerLoaderProxyProvider>();
+ m_workerThread = WTF::wrapUnique(
new DedicatedWorkerThreadForTest(m_mockWorkerLoaderProxyProvider.get(),
workerObjectProxy(), threadHeapMode));
workerThreadCreated();
@@ -160,8 +160,8 @@ class DedicatedWorkerTest
void SetUp() override {
m_page = DummyPageHolder::create();
m_workerMessagingProxy =
- wrapUnique(new InProcessWorkerMessagingProxyForTest(&m_page->document(),
- m_threadHeapMode));
+ WTF::wrapUnique(new InProcessWorkerMessagingProxyForTest(
+ &m_page->document(), m_threadHeapMode));
m_securityOrigin =
SecurityOrigin::create(KURL(ParsedURLString, "http://fake.url/"));
}
@@ -174,7 +174,7 @@ class DedicatedWorkerTest
void startWithSourceCode(const String& source) {
std::unique_ptr<Vector<CSPHeaderAndType>> headers =
- makeUnique<Vector<CSPHeaderAndType>>();
+ WTF::makeUnique<Vector<CSPHeaderAndType>>();
CSPHeaderAndType headerAndType("contentSecurityPolicy",
ContentSecurityPolicyHeaderTypeReport);
headers->append(headerAndType);
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698