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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.cpp b/third_party/WebKit/Source/core/events/WheelEvent.cpp
index 3f4c15b742a68d512dc8d75f68b73d1ded2b2087..0573da8110e911c6969904ac039dedc4822bb277 100644
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp
@@ -34,14 +34,14 @@ inline static unsigned convertDeltaMode(const PlatformWheelEvent& event)
return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
}
-PassRefPtrWillBeRawPtr<WheelEvent> WheelEvent::create(const PlatformWheelEvent& event, PassRefPtrWillBeRawPtr<AbstractView> view)
+RawPtr<WheelEvent> WheelEvent::create(const PlatformWheelEvent& event, RawPtr<AbstractView> view)
{
- return adoptRefWillBeNoop(new WheelEvent(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()),
+ return new WheelEvent(FloatPoint(event.wheelTicksX(), event.wheelTicksY()), FloatPoint(event.deltaX(), event.deltaY()),
convertDeltaMode(event), view, event.globalPosition(), event.position(),
event.getModifiers(),
MouseEvent::platformModifiersToButtons(event.getModifiers()), event.timestamp(),
event.canScroll(), event.resendingPluginId(), event.hasPreciseScrollingDeltas(),
- static_cast<Event::RailsMode>(event.getRailsMode())));
+ static_cast<Event::RailsMode>(event.getRailsMode()));
}
WheelEvent::WheelEvent()
@@ -71,7 +71,7 @@ WheelEvent::WheelEvent(const AtomicString& type, const WheelEventInit& initializ
}
WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode,
- PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& windowLocation,
+ 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)
: MouseEvent(EventTypeNames::wheel, true, true, view, 0, screenLocation.x(), screenLocation.y(),
@@ -107,7 +107,7 @@ bool WheelEvent::isWheelEvent() const
return true;
}
-PassRefPtrWillBeRawPtr<EventDispatchMediator> WheelEvent::createMediator()
+RawPtr<EventDispatchMediator> WheelEvent::createMediator()
{
return EventDispatchMediator::create(this);
}
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.h ('k') | third_party/WebKit/Source/core/events/WindowEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698