| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 6eb50580c2bf29e160f74b222c7187075b105a8d..919dda1655fc849c62d7e7c0896d5dd627fecc47 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -412,7 +412,7 @@ HashSet<WebViewImpl*>& WebViewImpl::allInstances()
|
| WebViewImpl::WebViewImpl(WebViewClient* client)
|
| : m_client(client)
|
| , m_spellCheckClient(0)
|
| - , m_chromeClientImpl(this)
|
| + , m_chromeClientImpl(ChromeClientImpl::create(this))
|
| , m_contextMenuClientImpl(this)
|
| , m_dragClientImpl(this)
|
| , m_editorClientImpl(this)
|
| @@ -460,7 +460,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| , m_elasticOverscroll(FloatSize())
|
| {
|
| Page::PageClients pageClients;
|
| - pageClients.chromeClient = &m_chromeClientImpl;
|
| + pageClients.chromeClient = m_chromeClientImpl.get();
|
| pageClients.contextMenuClient = &m_contextMenuClientImpl;
|
| pageClients.editorClient = &m_editorClientImpl;
|
| pageClients.dragClient = &m_dragClientImpl;
|
|
|