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

Unified Diff: third_party/WebKit/Source/core/events/TouchEvent.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/TouchEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/TouchEvent.cpp b/third_party/WebKit/Source/core/events/TouchEvent.cpp
index f0cce5579c64d9ce71e117c004d13665d3beb9a1..c9efe114af3891c287af34486c03233354cb3dbd 100644
--- a/third_party/WebKit/Source/core/events/TouchEvent.cpp
+++ b/third_party/WebKit/Source/core/events/TouchEvent.cpp
@@ -41,7 +41,7 @@ TouchEvent::TouchEvent()
TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches,
TouchList* changedTouches, const AtomicString& type,
- PassRefPtrWillBeRawPtr<AbstractView> view,
+ RawPtr<AbstractView> view,
PlatformEvent::Modifiers modifiers, bool cancelable, bool causesScrollingIfUncanceled,
double platformTimeStamp)
// Pass a sourceCapabilities including the ability to fire touchevents when creating this touchevent, which is always created from input device capabilities from EventHandler.
@@ -64,7 +64,7 @@ TouchEvent::~TouchEvent()
void TouchEvent::initTouchEvent(ScriptState* scriptState, TouchList* touches, TouchList* targetTouches,
TouchList* changedTouches, const AtomicString& type,
- PassRefPtrWillBeRawPtr<AbstractView> view,
+ RawPtr<AbstractView> view,
int, int, int, int,
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
{
@@ -109,7 +109,7 @@ void TouchEvent::preventDefault()
}
}
-PassRefPtrWillBeRawPtr<EventDispatchMediator> TouchEvent::createMediator()
+RawPtr<EventDispatchMediator> TouchEvent::createMediator()
{
return TouchEventDispatchMediator::create(this);
}
@@ -122,12 +122,12 @@ DEFINE_TRACE(TouchEvent)
UIEventWithKeyState::trace(visitor);
}
-PassRefPtrWillBeRawPtr<TouchEventDispatchMediator> TouchEventDispatchMediator::create(PassRefPtrWillBeRawPtr<TouchEvent> touchEvent)
+RawPtr<TouchEventDispatchMediator> TouchEventDispatchMediator::create(RawPtr<TouchEvent> touchEvent)
{
- return adoptRefWillBeNoop(new TouchEventDispatchMediator(touchEvent));
+ return new TouchEventDispatchMediator(touchEvent);
}
-TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtrWillBeRawPtr<TouchEvent> touchEvent)
+TouchEventDispatchMediator::TouchEventDispatchMediator(RawPtr<TouchEvent> touchEvent)
: EventDispatchMediator(touchEvent)
{
}
« no previous file with comments | « third_party/WebKit/Source/core/events/TouchEvent.h ('k') | third_party/WebKit/Source/core/events/TouchEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698