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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months 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 7d7dbb4f743d32fdbe6d1b20ac9e69cb19e51081..0f23f8feff059fe90c00f4663caa4013344078f7 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
@@ -30,23 +30,23 @@ void ServiceWorkerRegistration::dispatchUpdateFoundEvent()
void ServiceWorkerRegistration::setInstalling(WebPassOwnPtr<WebServiceWorker::Handle> handle)
{
- if (!executionContext())
+ if (!getExecutionContext())
return;
- m_installing = ServiceWorker::from(executionContext(), handle.release());
+ m_installing = ServiceWorker::from(getExecutionContext(), handle.release());
}
void ServiceWorkerRegistration::setWaiting(WebPassOwnPtr<WebServiceWorker::Handle> handle)
{
- if (!executionContext())
+ if (!getExecutionContext())
return;
- m_waiting = ServiceWorker::from(executionContext(), handle.release());
+ m_waiting = ServiceWorker::from(getExecutionContext(), handle.release());
}
void ServiceWorkerRegistration::setActive(WebPassOwnPtr<WebServiceWorker::Handle> handle)
{
- if (!executionContext())
+ if (!getExecutionContext())
return;
- m_active = ServiceWorker::from(executionContext(), handle.release());
+ m_active = ServiceWorker::from(getExecutionContext(), handle.release());
}
ServiceWorkerRegistration* ServiceWorkerRegistration::getOrCreate(ExecutionContext* executionContext, PassOwnPtr<WebServiceWorkerRegistration::Handle> handle)
@@ -55,7 +55,7 @@ ServiceWorkerRegistration* ServiceWorkerRegistration::getOrCreate(ExecutionConte
ServiceWorkerRegistration* existingRegistration = static_cast<ServiceWorkerRegistration*>(handle->registration()->proxy());
if (existingRegistration) {
- ASSERT(existingRegistration->executionContext() == executionContext);
+ ASSERT(existingRegistration->getExecutionContext() == executionContext);
return existingRegistration;
}

Powered by Google App Engine
This is Rietveld 408576698