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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.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/modules/serviceworkers/ServiceWorkerContainerTest.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
index 6dddc0ca6ff0dc8610a7806e2289196fe9666c30..42f19da0d51a1b0b4d8cbc8416492ba5958ad7e8 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
@@ -174,7 +174,7 @@ class ServiceWorkerContainerTest : public ::testing::Test {
const ScriptValueTest& valueTest) {
// When the registration is rejected, a register call must not reach
// the provider.
- provide(makeUnique<NotReachedWebServiceWorkerProvider>());
+ provide(WTF::makeUnique<NotReachedWebServiceWorkerProvider>());
ServiceWorkerContainer* container =
ServiceWorkerContainer::create(getExecutionContext());
@@ -188,7 +188,7 @@ class ServiceWorkerContainerTest : public ::testing::Test {
void testGetRegistrationRejected(const String& documentURL,
const ScriptValueTest& valueTest) {
- provide(makeUnique<NotReachedWebServiceWorkerProvider>());
+ provide(WTF::makeUnique<NotReachedWebServiceWorkerProvider>());
ServiceWorkerContainer* container =
ServiceWorkerContainer::create(getExecutionContext());
@@ -265,7 +265,7 @@ class StubWebServiceWorkerProvider {
// other methods must not be called after the
// StubWebServiceWorkerProvider dies.
std::unique_ptr<WebServiceWorkerProvider> provider() {
- return wrapUnique(new WebServiceWorkerProviderImpl(*this));
+ return WTF::wrapUnique(new WebServiceWorkerProviderImpl(*this));
}
size_t registerCallCount() { return m_registerCallCount; }

Powered by Google App Engine
This is Rietveld 408576698