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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.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/ServiceWorkerRegistration.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
index aae1df40b8a14f8fa27a78459ddb27facb7f11f2..60c26b45a6df32840b18b3348887dd68b2149200 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
@@ -37,24 +37,24 @@ void ServiceWorkerRegistration::setInstalling(
std::unique_ptr<WebServiceWorker::Handle> handle) {
if (!getExecutionContext())
return;
- m_installing =
- ServiceWorker::from(getExecutionContext(), wrapUnique(handle.release()));
+ m_installing = ServiceWorker::from(getExecutionContext(),
+ WTF::wrapUnique(handle.release()));
}
void ServiceWorkerRegistration::setWaiting(
std::unique_ptr<WebServiceWorker::Handle> handle) {
if (!getExecutionContext())
return;
- m_waiting =
- ServiceWorker::from(getExecutionContext(), wrapUnique(handle.release()));
+ m_waiting = ServiceWorker::from(getExecutionContext(),
+ WTF::wrapUnique(handle.release()));
}
void ServiceWorkerRegistration::setActive(
std::unique_ptr<WebServiceWorker::Handle> handle) {
if (!getExecutionContext())
return;
- m_active =
- ServiceWorker::from(getExecutionContext(), wrapUnique(handle.release()));
+ m_active = ServiceWorker::from(getExecutionContext(),
+ WTF::wrapUnique(handle.release()));
}
ServiceWorkerRegistration* ServiceWorkerRegistration::getOrCreate(

Powered by Google App Engine
This is Rietveld 408576698