Index: Source/web/WebSharedWorkerImpl.cpp |
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp |
index 3285bf5852ac8657621b05e4ac04d36e19afabaf..4c71b633b2b4fd0c1e54386bafd94ce5c93f83b2 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()); |