Index: Source/core/html/SearchInputType.cpp |
diff --git a/Source/core/html/SearchInputType.cpp b/Source/core/html/SearchInputType.cpp |
index 5aab99200035284e25d5591ee7e05f14549bdae1..4c684b4a3a8d6498ea1ffbb4e32211a43ddcb633 100644 |
--- a/Source/core/html/SearchInputType.cpp |
+++ b/Source/core/html/SearchInputType.cpp |
@@ -95,8 +95,8 @@ void SearchInputType::createShadowSubtree() |
ASSERT(container); |
ASSERT(textWrapper); |
- container->insertBefore(SearchFieldDecorationElement::create(element()->document()), textWrapper); |
- container->insertBefore(SearchFieldCancelButtonElement::create(element()->document()), textWrapper->nextSibling()); |
+ container->insertBefore(SearchFieldDecorationElement::create(&element()->document()), textWrapper); |
+ container->insertBefore(SearchFieldCancelButtonElement::create(&element()->document()), textWrapper->nextSibling()); |
} |
void SearchInputType::handleKeydownEvent(KeyboardEvent* event) |