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

Unified Diff: third_party/WebKit/Source/core/events/WheelEvent.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/events/WheelEvent.h
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.h b/third_party/WebKit/Source/core/events/WheelEvent.h
index ec119aa2e2aaaa3ab49b81456b9b2855393d348f..5a2d972a54d64dbe94565d9cf855c9e968349cae 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.h
+++ b/third_party/WebKit/Source/core/events/WheelEvent.h
@@ -45,27 +45,27 @@ public:
DOM_DELTA_PAGE
};
- static PassRefPtrWillBeRawPtr<WheelEvent> create()
+ static RawPtr<WheelEvent> create()
{
return adoptRefWillBeNoop(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));
+ canScroll, resendingPluginId, hasPreciseScrollingDeltas, railsMode);
}
double deltaX() const { return m_deltaX; } // Positive when scrolling right.
@@ -86,7 +86,7 @@ public:
bool isMouseEvent() const override;
bool isWheelEvent() const override;
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
+ RawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
@@ -94,7 +94,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);
« no previous file with comments | « third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp ('k') | third_party/WebKit/Source/core/events/WheelEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698