Index: Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp |
index 2981be7d6541ffc18cdd0d5a8f1f3f006b22649c..5bbc66fa83073a96345c481aebfbae2559450e4e 100644 |
--- a/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/Source/core/html/forms/TextFieldInputType.cpp |
@@ -98,9 +98,9 @@ private: |
} |
public: |
- static PassRefPtr<DataListIndicatorElement> create(Document& document) |
+ static PassRefPtrWillBeRawPtr<DataListIndicatorElement> create(Document& document) |
{ |
- RefPtr<DataListIndicatorElement> element = adoptRef(new DataListIndicatorElement(document)); |
+ RefPtrWillBeRawPtr<DataListIndicatorElement> element = adoptRefWillBeRefCountedGarbageCollected(new DataListIndicatorElement(document)); |
element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral)); |
element->setAttribute(idAttr, ShadowElementNames::pickerIndicator()); |
return element.release(); |