Index: Source/core/events/WheelEvent.cpp |
diff --git a/Source/core/events/WheelEvent.cpp b/Source/core/events/WheelEvent.cpp |
index 74954307e8e25f609491fa0de4508c4ce8e23f69..c1ba7cdebd55010d01b3243f42a5ea33bf93a0f2 100644 |
--- a/Source/core/events/WheelEvent.cpp |
+++ b/Source/core/events/WheelEvent.cpp |
@@ -62,7 +62,7 @@ WheelEvent::WheelEvent(const AtomicString& type, const WheelEventInit& initializ |
} |
WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode, |
- PassRefPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation, |
+ PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice) |
: MouseEvent(EventTypeNames::wheel, |
true, true, view, 0, screenLocation.x(), screenLocation.y(), |
@@ -79,7 +79,7 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, |
ScriptWrappable::init(this); |
} |
-void WheelEvent::initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView> view, |
+void WheelEvent::initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtrWillBeRawPtr<AbstractView> view, |
int screenX, int screenY, int pageX, int pageY, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) |
{ |
@@ -103,7 +103,7 @@ void WheelEvent::initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<Abstrac |
initCoordinates(IntPoint(pageX, pageY)); |
} |
-void WheelEvent::initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView> view, |
+void WheelEvent::initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtrWillBeRawPtr<AbstractView> view, |
int screenX, int screenY, int pageX, int pageY, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) |
{ |
@@ -136,12 +136,12 @@ inline static unsigned deltaMode(const PlatformWheelEvent& event) |
return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL; |
} |
-PassRefPtr<WheelEventDispatchMediator> WheelEventDispatchMediator::create(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view) |
+PassRefPtr<WheelEventDispatchMediator> WheelEventDispatchMediator::create(const PlatformWheelEvent& event, PassRefPtrWillBeRawPtr<AbstractView> view) |
{ |
return adoptRef(new WheelEventDispatchMediator(event, view)); |
} |
-WheelEventDispatchMediator::WheelEventDispatchMediator(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view) |
+WheelEventDispatchMediator::WheelEventDispatchMediator(const PlatformWheelEvent& event, PassRefPtrWillBeRawPtr<AbstractView> view) |
{ |
if (!(event.deltaX() || event.deltaY())) |
return; |