| Index: Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index 7550d29052890cb3ce0994206f1fa706a85600d4..7d7a9a4f081f27ae14393e49b873f835df20a681 100644
|
| --- a/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -52,7 +52,7 @@ TextControlInnerContainer::TextControlInnerContainer(Document& document)
|
|
|
| PassRefPtrWillBeRawPtr<TextControlInnerContainer> TextControlInnerContainer::create(Document& document)
|
| {
|
| - RefPtrWillBeRawPtr<TextControlInnerContainer> element = adoptRefWillBeRefCountedGarbageCollected(new TextControlInnerContainer(document));
|
| + RefPtrWillBeRawPtr<TextControlInnerContainer> element = adoptRefWillBeNoop(new TextControlInnerContainer(document));
|
| element->setAttribute(idAttr, ShadowElementNames::textFieldContainer());
|
| return element.release();
|
| }
|
| @@ -72,7 +72,7 @@ EditingViewPortElement::EditingViewPortElement(Document& document)
|
|
|
| PassRefPtrWillBeRawPtr<EditingViewPortElement> EditingViewPortElement::create(Document& document)
|
| {
|
| - RefPtrWillBeRawPtr<EditingViewPortElement> element = adoptRefWillBeRefCountedGarbageCollected(new EditingViewPortElement(document));
|
| + RefPtrWillBeRawPtr<EditingViewPortElement> element = adoptRefWillBeNoop(new EditingViewPortElement(document));
|
| element->setAttribute(idAttr, ShadowElementNames::editingViewPort());
|
| return element.release();
|
| }
|
| @@ -106,7 +106,7 @@ inline TextControlInnerTextElement::TextControlInnerTextElement(Document& docume
|
|
|
| PassRefPtrWillBeRawPtr<TextControlInnerTextElement> TextControlInnerTextElement::create(Document& document)
|
| {
|
| - RefPtrWillBeRawPtr<TextControlInnerTextElement> element = adoptRefWillBeRefCountedGarbageCollected(new TextControlInnerTextElement(document));
|
| + RefPtrWillBeRawPtr<TextControlInnerTextElement> element = adoptRefWillBeNoop(new TextControlInnerTextElement(document));
|
| element->setAttribute(idAttr, ShadowElementNames::innerEditor());
|
| return element.release();
|
| }
|
| @@ -153,7 +153,7 @@ inline SearchFieldDecorationElement::SearchFieldDecorationElement(Document& docu
|
|
|
| PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> SearchFieldDecorationElement::create(Document& document)
|
| {
|
| - RefPtrWillBeRawPtr<SearchFieldDecorationElement> element = adoptRefWillBeRefCountedGarbageCollected(new SearchFieldDecorationElement(document));
|
| + RefPtrWillBeRawPtr<SearchFieldDecorationElement> element = adoptRefWillBeNoop(new SearchFieldDecorationElement(document));
|
| element->setAttribute(idAttr, ShadowElementNames::searchDecoration());
|
| return element.release();
|
| }
|
| @@ -202,7 +202,7 @@ inline SearchFieldCancelButtonElement::SearchFieldCancelButtonElement(Document&
|
|
|
| PassRefPtrWillBeRawPtr<SearchFieldCancelButtonElement> SearchFieldCancelButtonElement::create(Document& document)
|
| {
|
| - RefPtrWillBeRawPtr<SearchFieldCancelButtonElement> element = adoptRefWillBeRefCountedGarbageCollected(new SearchFieldCancelButtonElement(document));
|
| + RefPtrWillBeRawPtr<SearchFieldCancelButtonElement> element = adoptRefWillBeNoop(new SearchFieldCancelButtonElement(document));
|
| element->setShadowPseudoId(AtomicString("-webkit-search-cancel-button", AtomicString::ConstructFromLiteral));
|
| element->setAttribute(idAttr, ShadowElementNames::clearButton());
|
| return element.release();
|
|
|