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

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, 9 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 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;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLScriptElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698