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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputTypeView.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/forms/InputTypeView.h
diff --git a/third_party/WebKit/Source/core/html/forms/InputTypeView.h b/third_party/WebKit/Source/core/html/forms/InputTypeView.h
index 86948c19556b45c38deb2ac6fdaf48cdacdc2e2b..8b366422fe6c84c13ba7da766d9b7af0ac6bf4e8 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.h
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.h
@@ -56,33 +56,29 @@ class LayoutObject;
class ComputedStyle;
class TouchEvent;
-struct ClickHandlingState final : public NoBaseWillBeGarbageCollected<ClickHandlingState> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(ClickHandlingState);
-
+struct ClickHandlingState final : public GarbageCollected<ClickHandlingState> {
public:
DECLARE_TRACE();
bool checked;
bool indeterminate;
- RefPtrWillBeMember<HTMLInputElement> checkedRadioButton;
+ Member<HTMLInputElement> checkedRadioButton;
};
// An InputTypeView object represents the UI-specific part of an
// HTMLInputElement. Do not expose instances of InputTypeView and classes
// derived from it to classes other than HTMLInputElement.
-class CORE_EXPORT InputTypeView : public RefCountedWillBeGarbageCollectedFinalized<InputTypeView> {
+class CORE_EXPORT InputTypeView : public GarbageCollectedFinalized<InputTypeView> {
WTF_MAKE_NONCOPYABLE(InputTypeView);
- USING_FAST_MALLOC_WILL_BE_REMOVED(InputTypeView);
-
public:
- static PassRefPtrWillBeRawPtr<InputTypeView> create(HTMLInputElement&);
+ static RawPtr<InputTypeView> create(HTMLInputElement&);
virtual ~InputTypeView();
DECLARE_VIRTUAL_TRACE();
virtual bool sizeShouldIncludeDecoration(int defaultSize, int& preferredSize) const;
virtual void handleClickEvent(MouseEvent*);
virtual void handleMouseDownEvent(MouseEvent*);
- virtual PassOwnPtrWillBeRawPtr<ClickHandlingState> willDispatchClick();
+ virtual RawPtr<ClickHandlingState> willDispatchClick();
virtual void didDispatchClick(Event*, const ClickHandlingState&);
virtual void handleKeydownEvent(KeyboardEvent*);
virtual void handleKeypressEvent(KeyboardEvent*);
@@ -91,7 +87,7 @@ public:
virtual void handleTouchEvent(TouchEvent*);
virtual void forwardEvent(Event*);
virtual bool shouldSubmitImplicitly(Event*);
- virtual PassRefPtrWillBeRawPtr<HTMLFormElement> formForSubmission() const;
+ virtual RawPtr<HTMLFormElement> formForSubmission() const;
virtual bool hasCustomFocusLogic() const;
virtual void handleFocusEvent(Element* oldFocusedElement, WebFocusType);
virtual void handleFocusInEvent(Element* oldFocusedElement, WebFocusType);
@@ -131,7 +127,7 @@ protected:
private:
// Not a RefPtr because the HTMLInputElement object owns this InputTypeView
// object.
- RawPtrWillBeMember<HTMLInputElement> m_element;
+ Member<HTMLInputElement> m_element;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/InputType.cpp ('k') | third_party/WebKit/Source/core/html/forms/InputTypeView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698