- WebServiceWorkerRegistrationProxy* proxy = outerRegistration->proxy();
- if (proxy) {
- ServiceWorkerRegistration* existingRegistration = *proxy;
- if (existingRegistration) {
- ASSERT(existingRegistration->executionContext() == executionContext);
- return existingRegistration;
- }
+ ServiceWorkerRegistration* existingRegistration = static_cast<ServiceWorkerRegistration*>(outerRegistration->proxy());
+ if (existingRegistration) {
+ ASSERT(existingRegistration->executionContext() == executionContext);
+ return existingRegistration;