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

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

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.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index 3325a8d17c031ecb8db3093ddcecfae2c9951e29..b28a3c21a69daaba273ea701abb07e049103d585 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -38,7 +38,7 @@ class ServiceWorkerRegistration final
public:
// EventTarget overrides.
const AtomicString& interfaceName() const override;
- ExecutionContext* executionContext() const override { return ActiveDOMObject::executionContext(); }
+ ExecutionContext* getExecutionContext() const override { return ActiveDOMObject::getExecutionContext(); }
// WebServiceWorkerRegistrationProxy overrides.
void dispatchUpdateFoundEvent() override;
@@ -94,7 +94,7 @@ public:
{
HeapVector<Member<ServiceWorkerRegistration>> registrations;
for (auto& registration : *webServiceWorkerRegistrations)
- registrations.append(ServiceWorkerRegistration::getOrCreate(resolver->executionContext(), registration.release()));
+ registrations.append(ServiceWorkerRegistration::getOrCreate(resolver->getExecutionContext(), registration.release()));
return registrations;
}
};

Powered by Google App Engine
This is Rietveld 408576698