| Index: Source/core/html/ValidationMessage.cpp
|
| diff --git a/Source/core/html/ValidationMessage.cpp b/Source/core/html/ValidationMessage.cpp
|
| index 7b4e29876354557e0976786e809b86621e0254c3..faa67e2bd9bb2661e0030e8f2747fb3a7549c2cc 100644
|
| --- a/Source/core/html/ValidationMessage.cpp
|
| +++ b/Source/core/html/ValidationMessage.cpp
|
| @@ -57,7 +57,7 @@ PassOwnPtr<ValidationMessage> ValidationMessage::create(HTMLFormControlElement*
|
|
|
| ValidationMessageClient* ValidationMessage::validationMessageClient() const
|
| {
|
| - Page* page = m_element->document()->page();
|
| + Page* page = m_element->document().page();
|
| if (!page)
|
| return 0;
|
| // The form valdiation feature requires ValidationMessageClient.
|
|
|