Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: Source/core/page/Page.cpp

Issue 225393002: Apply OwnPtr|PassOwnPtr to m_validationMessageClient and setValidationMessageClient() in Page class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698