| Index: Source/core/html/TextFieldInputType.cpp
|
| diff --git a/Source/core/html/TextFieldInputType.cpp b/Source/core/html/TextFieldInputType.cpp
|
| index e975a9f6e789d2459851ad6999504604447d4d9f..8cc69ea7f0e9317614a3a6ab8986611279fdea7f 100644
|
| --- a/Source/core/html/TextFieldInputType.cpp
|
| +++ b/Source/core/html/TextFieldInputType.cpp
|
| @@ -242,7 +242,7 @@ void TextFieldInputType::createShadowSubtree()
|
| ASSERT(!m_innerText);
|
| ASSERT(!m_innerBlock);
|
|
|
| - Document* document = &element()->document();
|
| + Document& document = element()->document();
|
| bool shouldHaveSpinButton = this->shouldHaveSpinButton();
|
| bool createsContainer = shouldHaveSpinButton || needsContainer();
|
|
|
| @@ -411,7 +411,7 @@ void TextFieldInputType::updatePlaceholderText()
|
| return;
|
| }
|
| if (!m_placeholder) {
|
| - m_placeholder = HTMLDivElement::create(&element()->document());
|
| + m_placeholder = HTMLDivElement::create(element()->document());
|
| m_placeholder->setPart(AtomicString("-webkit-input-placeholder", AtomicString::ConstructFromLiteral));
|
| element()->userAgentShadowRoot()->insertBefore(m_placeholder, m_container ? m_container->nextSibling() : innerTextElement()->nextSibling());
|
| }
|
|
|