Index: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
index 84715af8c744def2466c1a167a81ff7a83dca062..43feeee16082da804453c40aa2663116f95a2060 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
@@ -63,7 +63,7 @@ void InstallEvent::registerForeignFetch(ExecutionContext* executionContext, cons |
ServiceWorkerGlobalScopeClient* client = ServiceWorkerGlobalScopeClient::from(executionContext); |
String scopePath = static_cast<KURL>(client->scope()).path(); |
- RefPtr<SecurityOrigin> origin = executionContext->securityOrigin(); |
+ RefPtr<SecurityOrigin> origin = executionContext->getSecurityOrigin(); |
if (!options.hasScopes() || options.scopes().isEmpty()) { |
exceptionState.throwTypeError("At least one scope is required"); |