Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 13cabe52a8adf873c1e2301548386c106cba897d..3e57d8c7b0452c6e03251491bc59ebb538ae79ce 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
@@ -45,8 +45,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;
@@ -82,8 +82,8 @@ public:
String suggestedValue() const;
void setSuggestedValue(const String&);
- PassRefPtrWillBeRawPtr<HTMLOptionsCollection> options();
- PassRefPtrWillBeRawPtr<HTMLCollection> selectedOptions();
+ RawPtr<HTMLOptionsCollection> options();
+ RawPtr<HTMLCollection> selectedOptions();
void optionElementChildrenChanged();
@@ -91,7 +91,7 @@ public:
void invalidateSelectedItems();
void updateListItemSelectedStates();
- using ListItems = WillBeHeapVector<RawPtrWillBeMember<HTMLElement>>;
+ using ListItems = HeapVector<Member<HTMLElement>>;
const ListItems& listItems() const;
void accessKeyAction(bool sendMouseEvents) override;
@@ -120,7 +120,7 @@ public:
void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
void optionInserted(const HTMLOptionElement&, bool optionIsSelected);
void optionRemoved(const HTMLOptionElement&);
- bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionElement>, ExceptionState&);
+ bool anonymousIndexedSetter(unsigned, RawPtr<HTMLOptionElement>, ExceptionState&);
void updateListOnLayoutObject();
@@ -255,17 +255,17 @@ private:
Vector<bool> m_cachedStateForActiveSelection;
TypeAhead m_typeAhead;
unsigned m_size;
- RefPtrWillBeMember<HTMLOptionElement> m_lastOnChangeOption;
+ Member<HTMLOptionElement> m_lastOnChangeOption;
int m_activeSelectionAnchorIndex;
int m_activeSelectionEndIndex;
- RefPtrWillBeMember<HTMLOptionElement> m_optionToScrollTo;
+ 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;
};

Powered by Google App Engine
This is Rietveld 408576698