| 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(
|
|
|