Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 068042dd04c18621acb953f465d63a807b28b9a9..7245f7743cf47f9904ac620539fe01d7112ab088 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -404,8 +404,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); |
InspectorIndexedDBAgent::provideTo(m_page.get()); |
provideStorageQuotaClientTo(*m_page, StorageQuotaClientImpl::create()); |
- m_validationMessage = ValidationMessageClientImpl::create(*this); |
- m_page->setValidationMessageClient(m_validationMessage.get()); |
+ m_page->setValidationMessageClient(ValidationMessageClientImpl::create(*this)); |
provideWorkerGlobalScopeProxyProviderTo(*m_page, WorkerGlobalScopeProxyProviderImpl::create()); |
m_page->makeOrdinary(); |