Index: Source/web/WebSharedWorkerImpl.cpp |
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp |
index f2ab93c7e6e3eb65130640b02376b7d363bac6a3..d6feba91590d5643f2027242c8cbfc27fe5c0e4f 100644 |
--- a/Source/web/WebSharedWorkerImpl.cpp |
+++ b/Source/web/WebSharedWorkerImpl.cpp |
@@ -138,7 +138,7 @@ void WebSharedWorkerImpl::initializeLoader(const WebURL& url) |
CString content(""); |
int length = static_cast<int>(content.length()); |
RefPtr<SharedBuffer> buffer(SharedBuffer::create(content.data(), length)); |
- webFrame->frame()->loader()->load(FrameLoadRequest(0, ResourceRequest(url), SubstituteData(buffer, "text/html", "UTF-8", KURL()))); |
+ webFrame->frame()->loader().load(FrameLoadRequest(0, ResourceRequest(url), SubstituteData(buffer, "text/html", "UTF-8", KURL()))); |
// This document will be used as 'loading context' for the worker. |
m_loadingDocument = webFrame->frame()->document(); |