Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index f20b49a8cc030a149dbd2ef0c09b9e101eb313b2..05d8ae61463bea6effc5c4c98407be59941d5528 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -348,7 +348,7 @@ void WebEmbeddedWorkerImpl::startWorkerThread() |
Document* document = m_mainFrame->frame()->document(); |
// FIXME: this document's origin is pristine and without any extra privileges. (crbug.com/254993) |
- SecurityOrigin* starterOrigin = document->securityOrigin(); |
+ SecurityOrigin* starterOrigin = document->getSecurityOrigin(); |
OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create(); |
provideContentSettingsClientToWorker(workerClients.get(), m_contentSettingsClient.release()); |