| Index: third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.h b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| index b02ce2efa19775ae03d926641d68699be889b339..b13d3d1003beec2cb959b7a303950cf83bd95fe0 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
|
| @@ -46,8 +46,8 @@ class PopupMenu;
|
| class CORE_EXPORT HTMLSelectElement final : public HTMLFormControlElementWithState, private TypeAheadDataSource {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&);
|
| - static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&, HTMLFormElement*);
|
| + static RawPtr<HTMLSelectElement> create(Document&);
|
| + static RawPtr<HTMLSelectElement> create(Document&, HTMLFormElement*);
|
| ~HTMLSelectElement() override;
|
|
|
| int selectedIndex() const;
|
| @@ -84,15 +84,15 @@ public:
|
| String suggestedValue() const;
|
| void setSuggestedValue(const String&);
|
|
|
| - PassRefPtrWillBeRawPtr<HTMLOptionsCollection> options();
|
| - PassRefPtrWillBeRawPtr<HTMLCollection> selectedOptions();
|
| + RawPtr<HTMLOptionsCollection> options();
|
| + RawPtr<HTMLCollection> selectedOptions();
|
|
|
| void optionElementChildrenChanged();
|
|
|
| void setRecalcListItems();
|
| void invalidateSelectedItems();
|
|
|
| - using ListItems = WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>;
|
| + using ListItems = HeapVector<Member<HTMLElement>>;
|
| const ListItems& listItems() const;
|
|
|
| void accessKeyAction(bool sendMouseEvents) override;
|
| @@ -122,7 +122,7 @@ public:
|
| void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
|
| void optionInserted(HTMLOptionElement&, bool optionIsSelected);
|
| void optionRemoved(const HTMLOptionElement&);
|
| - bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionElement>, ExceptionState&);
|
| + bool anonymousIndexedSetter(unsigned, RawPtr<HTMLOptionElement>, ExceptionState&);
|
|
|
| void updateListOnLayoutObject();
|
|
|
| @@ -257,17 +257,17 @@ private:
|
| Vector<bool> m_cachedStateForActiveSelection;
|
| TypeAhead m_typeAhead;
|
| unsigned m_size;
|
| - RefPtrWillBeMember<HTMLOptionElement> m_lastOnChangeOption;
|
| - RefPtrWillBeMember<HTMLOptionElement> m_activeSelectionAnchor;
|
| - RefPtrWillBeMember<HTMLOptionElement> m_activeSelectionEnd;
|
| - RefPtrWillBeMember<HTMLOptionElement> m_optionToScrollTo;
|
| + Member<HTMLOptionElement> m_lastOnChangeOption;
|
| + Member<HTMLOptionElement> m_activeSelectionAnchor;
|
| + Member<HTMLOptionElement> m_activeSelectionEnd;
|
| + Member<HTMLOptionElement> m_optionToScrollTo;
|
| bool m_multiple;
|
| bool m_activeSelectionState;
|
| mutable bool m_shouldRecalcListItems;
|
| int m_suggestedIndex;
|
| bool m_isAutofilledByPreview;
|
|
|
| - RefPtrWillBeMember<PopupMenu> m_popup;
|
| + Member<PopupMenu> m_popup;
|
| int m_indexToSelectOnCancel;
|
| bool m_popupIsVisible;
|
|
|
|
|