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

Unified Diff: third_party/WebKit/Source/core/events/WheelEvent.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/events/WheelEvent.h
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.h b/third_party/WebKit/Source/core/events/WheelEvent.h
index 27ec42faf3ec419825318864f35892dbbdba3d5a..75bc97f9159ba8acbcb845f1c3d3bcb4cf78cdf2 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.h
+++ b/third_party/WebKit/Source/core/events/WheelEvent.h
@@ -46,25 +46,25 @@ public:
DOM_DELTA_PAGE
};
- static PassRefPtrWillBeRawPtr<WheelEvent> create()
+ static RawPtr<WheelEvent> create()
{
- return adoptRefWillBeNoop(new WheelEvent);
+ return (new WheelEvent);
}
- static PassRefPtrWillBeRawPtr<WheelEvent> create(const PlatformWheelEvent& platformEvent, PassRefPtrWillBeRawPtr<AbstractView>);
+ static RawPtr<WheelEvent> create(const PlatformWheelEvent& platformEvent, RawPtr<AbstractView>);
- static PassRefPtrWillBeRawPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
+ static RawPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
{
- return adoptRefWillBeNoop(new WheelEvent(type, initializer));
+ return (new WheelEvent(type, initializer));
}
- static PassRefPtrWillBeRawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
- const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view,
+ static RawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
+ const FloatPoint& rawDelta, unsigned deltaMode, RawPtr<AbstractView> view,
const IntPoint& screenLocation, const IntPoint& windowLocation,
PlatformEvent::Modifiers modifiers, unsigned short buttons, double platformTimeStamp,
bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode)
{
- return adoptRefWillBeNoop(new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
+ return (new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
screenLocation, windowLocation, modifiers, buttons, platformTimeStamp,
canScroll, resendingPluginId, hasPreciseScrollingDeltas, railsMode));
}
@@ -87,7 +87,7 @@ public:
bool isMouseEvent() const override;
bool isWheelEvent() const override;
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
+ RawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
@@ -95,7 +95,7 @@ private:
WheelEvent();
WheelEvent(const AtomicString&, const WheelEventInit&);
WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
- unsigned, PassRefPtrWillBeRawPtr<AbstractView>, const IntPoint& screenLocation, const IntPoint& windowLocation,
+ unsigned, RawPtr<AbstractView>, const IntPoint& screenLocation, const IntPoint& windowLocation,
PlatformEvent::Modifiers, unsigned short buttons, double platformTimeStamp,
bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode);
@@ -114,10 +114,10 @@ DEFINE_EVENT_TYPE_CASTS(WheelEvent);
class WheelEventDispatchMediator final : public EventDispatchMediator {
public:
- static PassRefPtrWillBeRawPtr<WheelEventDispatchMediator> create(PassRefPtrWillBeRawPtr<WheelEvent>);
+ static RawPtr<WheelEventDispatchMediator> create(RawPtr<WheelEvent>);
private:
- explicit WheelEventDispatchMediator(PassRefPtrWillBeRawPtr<WheelEvent>);
+ explicit WheelEventDispatchMediator(RawPtr<WheelEvent>);
WheelEvent& event() const;
bool dispatchEvent(EventDispatcher&) const override;
};

Powered by Google App Engine
This is Rietveld 408576698