| Index: Source/core/html/shadow/PickerIndicatorElement.cpp
|
| diff --git a/Source/core/html/shadow/PickerIndicatorElement.cpp b/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| index 06452e65e8400b335d1994c2c371297129268532..cb31abc4c6fc46a17f936bff035a1722c5844dd0 100644
|
| --- a/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| +++ b/Source/core/html/shadow/PickerIndicatorElement.cpp
|
| @@ -50,9 +50,9 @@ inline PickerIndicatorElement::PickerIndicatorElement(Document& document, Picker
|
| {
|
| }
|
|
|
| -PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document& document, PickerIndicatorOwner& pickerIndicatorOwner)
|
| +PassRefPtrWillBeRawPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document& document, PickerIndicatorOwner& pickerIndicatorOwner)
|
| {
|
| - RefPtr<PickerIndicatorElement> element = adoptRef(new PickerIndicatorElement(document, pickerIndicatorOwner));
|
| + RefPtrWillBeRawPtr<PickerIndicatorElement> element = adoptRefWillBeRefCountedGarbageCollected(new PickerIndicatorElement(document, pickerIndicatorOwner));
|
| element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral));
|
| element->setAttribute(idAttr, ShadowElementNames::pickerIndicator());
|
| return element.release();
|
| @@ -143,6 +143,12 @@ bool PickerIndicatorElement::isPickerIndicatorElement() const
|
| return true;
|
| }
|
|
|
| +void PickerIndicatorElement::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_pickerIndicatorOwner);
|
| + HTMLDivElement::trace(visitor);
|
| +}
|
| +
|
| }
|
|
|
| #endif
|
|
|