Index: Source/web/WebSharedWorkerImpl.cpp |
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp |
index 3b2fb3d0379046a18f90f189e1078f968eccf9b4..c95098ff924db5ca97c46068d4fb367cd4cc225d 100644 |
--- a/Source/web/WebSharedWorkerImpl.cpp |
+++ b/Source/web/WebSharedWorkerImpl.cpp |
@@ -193,7 +193,7 @@ void WebSharedWorkerImpl::initializeLoader(const WebURL& url) |
m_webView->settings()->setOfflineWebApplicationCacheEnabled(RuntimeEnabledFeatures::applicationCacheEnabled()); |
// FIXME: Settings information should be passed to the Worker process from Browser process when the worker |
// is created (similar to RenderThread::OnCreateNewView). |
- m_mainFrame = WebFrame::create(this); |
+ m_mainFrame = WebLocalFrame::create(this); |
m_webView->setMainFrame(m_mainFrame); |
WebFrameImpl* webFrame = toWebFrameImpl(m_webView->mainFrame()); |