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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.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/ServiceWorkerLinkResource.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
index 85013d582a2cd777404ebc69da9ccfacbf637441..d84143475422e960eef604e4b433909262e1961f 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
@@ -87,14 +87,15 @@ void ServiceWorkerLinkResource::process() {
document.addConsoleMessage(ConsoleMessage::create(
JSMessageSource, ErrorMessageLevel,
"Cannot register service worker with <link> element. " + errorMessage));
- makeUnique<RegistrationCallback>(m_owner)->onError(WebServiceWorkerError(
- WebServiceWorkerError::ErrorTypeSecurity, errorMessage));
+ WTF::makeUnique<RegistrationCallback>(m_owner)->onError(
+ WebServiceWorkerError(WebServiceWorkerError::ErrorTypeSecurity,
+ errorMessage));
return;
}
container->registerServiceWorkerImpl(
&document, scriptURL, scopeURL,
- makeUnique<RegistrationCallback>(m_owner));
+ WTF::makeUnique<RegistrationCallback>(m_owner));
}
bool ServiceWorkerLinkResource::hasLoaded() const {

Powered by Google App Engine
This is Rietveld 408576698