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

Unified Diff: third_party/WebKit/Source/core/html/shadow/SpinButtonElement.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/shadow/SpinButtonElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h
index 4be7353d262485f05bb7e92cf9a8bcf850d13f01..14f8439b9f3c647f9e374082615cde3e9e0147cf 100644
--- a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h
+++ b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h
@@ -45,7 +45,7 @@ public:
EventDispatchAllowed,
EventDispatchDisallowed,
};
- class SpinButtonOwner : public WillBeGarbageCollectedMixin {
+ class SpinButtonOwner : public GarbageCollectedMixin {
public:
virtual ~SpinButtonOwner() { }
virtual void focusAndSelectSpinButtonOwner() = 0;
@@ -59,7 +59,7 @@ public:
// The owner of SpinButtonElement must call removeSpinButtonOwner
// because SpinButtonElement can be outlive SpinButtonOwner
// implementation, e.g. during event handling.
- static PassRefPtrWillBeRawPtr<SpinButtonElement> create(Document&, SpinButtonOwner&);
+ static RawPtr<SpinButtonElement> create(Document&, SpinButtonOwner&);
UpDownState getUpDownState() const { return m_upDownState; }
void releaseCapture(EventDispatch = EventDispatchAllowed);
void removeSpinButtonOwner() { m_spinButtonOwner = nullptr; }
@@ -91,7 +91,7 @@ private:
bool shouldRespondToMouseEvents();
bool isMouseFocusable() const override { return false; }
- RawPtrWillBeMember<SpinButtonOwner> m_spinButtonOwner;
+ Member<SpinButtonOwner> m_spinButtonOwner;
bool m_capturing;
UpDownState m_upDownState;
UpDownState m_pressStartingState;

Powered by Google App Engine
This is Rietveld 408576698