Index: Source/core/page/Page.cpp |
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
index 2e5e796b6661843b473c0b4490c1469c785df6ae..466074bf1c7f97f5711032272d5d70bd64e7386c 100644 |
--- a/Source/core/page/Page.cpp |
+++ b/Source/core/page/Page.cpp |
@@ -121,7 +121,6 @@ Page::Page(PageClients& pageClients) |
, m_undoStack(UndoStack::create()) |
, m_backForwardClient(pageClients.backForwardClient) |
, m_editorClient(pageClients.editorClient) |
- , m_validationMessageClient(0) |
, m_spellCheckerClient(pageClients.spellCheckerClient) |
, m_storageClient(pageClients.storageClient) |
, m_subframeCount(0) |
@@ -320,6 +319,11 @@ void Page::unmarkAllTextMatches() |
} while (frame); |
} |
+void Page::setValidationMessageClient(PassOwnPtr<ValidationMessageClient> client) |
+{ |
+ m_validationMessageClient = client; |
+} |
+ |
void Page::setDefersLoading(bool defers) |
{ |
if (defers == m_defersLoading) |