| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 6e38c3f158cc65e6483702a47702ad27cc489fc9..cc98fd8ad4054682c2a035726016ef5529c69acd 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -47,6 +47,7 @@
|
| #include "PopupContainer.h"
|
| #include "PrerendererClientImpl.h"
|
| #include "RuntimeEnabledFeatures.h"
|
| +#include "SharedWorkerRepositoryClientImpl.h"
|
| #include "SpeechInputClientImpl.h"
|
| #include "SpeechRecognitionClientProxy.h"
|
| #include "ValidationMessageClientImpl.h"
|
| @@ -370,6 +371,12 @@ void WebViewImpl::setPasswordGeneratorClient(WebPasswordGeneratorClient* client)
|
| m_passwordGeneratorClient = client;
|
| }
|
|
|
| +void WebViewImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient* client)
|
| +{
|
| + m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(client);
|
| + m_page->setSharedWorkerRepositoryClient(m_sharedWorkerRepositoryClient.get());
|
| +}
|
| +
|
| WebViewImpl::WebViewImpl(WebViewClient* client)
|
| : m_client(client)
|
| , m_autofillClient(0)
|
| @@ -471,6 +478,10 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| setVisibilityState(m_client->visibilityState(), true);
|
| }
|
|
|
| + // FIXME: Remove this when the embedder starts to call
|
| + // setSharedWorkerRepositoryClient().
|
| + setSharedWorkerRepositoryClient(0);
|
| +
|
| m_inspectorSettingsMap = adoptPtr(new SettingsMap);
|
| }
|
|
|
|
|