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

Unified Diff: third_party/WebKit/Source/core/events/GestureEvent.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/GestureEvent.h
diff --git a/third_party/WebKit/Source/core/events/GestureEvent.h b/third_party/WebKit/Source/core/events/GestureEvent.h
index 0581cb37d43101c5511141bd39964db15c3f98a0..ebb93fa453402a5d78534425547e37cb1a555ed2 100644
--- a/third_party/WebKit/Source/core/events/GestureEvent.h
+++ b/third_party/WebKit/Source/core/events/GestureEvent.h
@@ -43,7 +43,7 @@ class CORE_EXPORT GestureEvent final : public MouseRelatedEvent {
public:
~GestureEvent() override { }
- static PassRefPtrWillBeRawPtr<GestureEvent> create(PassRefPtrWillBeRawPtr<AbstractView>, const PlatformGestureEvent&);
+ static RawPtr<GestureEvent> create(RawPtr<AbstractView>, const PlatformGestureEvent&);
bool isGestureEvent() const override;
@@ -58,13 +58,13 @@ public:
GestureSource source() const { return m_source; }
int resendingPluginId() const { return m_resendingPluginId; }
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
+ RawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
private:
GestureEvent();
- GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource);
+ GestureEvent(const AtomicString& type, RawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource);
float m_deltaX;
float m_deltaY;
@@ -78,13 +78,13 @@ private:
class GestureEventDispatchMediator final : public EventDispatchMediator {
public:
- static PassRefPtrWillBeRawPtr<GestureEventDispatchMediator> create(PassRefPtrWillBeRawPtr<GestureEvent> gestureEvent)
+ static RawPtr<GestureEventDispatchMediator> create(RawPtr<GestureEvent> gestureEvent)
{
- return adoptRefWillBeNoop(new GestureEventDispatchMediator(gestureEvent));
+ return (new GestureEventDispatchMediator(gestureEvent));
}
private:
- explicit GestureEventDispatchMediator(PassRefPtrWillBeRawPtr<GestureEvent>);
+ explicit GestureEventDispatchMediator(RawPtr<GestureEvent>);
GestureEvent& event() const;

Powered by Google App Engine
This is Rietveld 408576698