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

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

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/DragEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/DragEvent.cpp b/third_party/WebKit/Source/core/events/DragEvent.cpp
index 648032fe3457ae63fe88141b9602a6a3de83c933..3927ff3209e3a6e25cc9dd549316ae54ea34f07d 100644
--- a/third_party/WebKit/Source/core/events/DragEvent.cpp
+++ b/third_party/WebKit/Source/core/events/DragEvent.cpp
@@ -10,16 +10,16 @@
namespace blink {
-PassRefPtrWillBeRawPtr<DragEvent> DragEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view,
+RawPtr<DragEvent> DragEvent::create(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<AbstractView> view,
int detail, int screenX, int screenY, int windowX, int windowY,
int movementX, int movementY,
PlatformEvent::Modifiers modifiers,
short button, unsigned short buttons,
- PassRefPtrWillBeRawPtr<EventTarget> relatedTarget,
+ RawPtr<EventTarget> relatedTarget,
double platformTimeStamp, DataTransfer* dataTransfer,
PlatformMouseEvent::SyntheticEventType syntheticEventType)
{
- return adoptRefWillBeNoop(new DragEvent(type, canBubble, cancelable, view,
+ return (new DragEvent(type, canBubble, cancelable, view,
detail, screenX, screenY, windowX, windowY,
movementX, movementY,
modifiers, button, buttons, relatedTarget, platformTimeStamp,
@@ -37,11 +37,11 @@ DragEvent::DragEvent(DataTransfer* dataTransfer)
{
}
-DragEvent::DragEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view,
+DragEvent::DragEvent(const AtomicString& eventType, bool canBubble, bool cancelable, RawPtr<AbstractView> view,
int detail, int screenX, int screenY, int windowX, int windowY,
int movementX, int movementY,
PlatformEvent::Modifiers modifiers,
- short button, unsigned short buttons, PassRefPtrWillBeRawPtr<EventTarget> relatedTarget,
+ short button, unsigned short buttons, RawPtr<EventTarget> relatedTarget,
double platformTimeStamp, DataTransfer* dataTransfer,
PlatformMouseEvent::SyntheticEventType syntheticEventType)
: MouseEvent(eventType, canBubble, cancelable, view, detail, screenX, screenY,
@@ -68,7 +68,7 @@ bool DragEvent::isMouseEvent() const
return false;
}
-PassRefPtrWillBeRawPtr<EventDispatchMediator> DragEvent::createMediator()
+RawPtr<EventDispatchMediator> DragEvent::createMediator()
{
return DragEventDispatchMediator::create(this);
}
@@ -79,12 +79,12 @@ DEFINE_TRACE(DragEvent)
MouseEvent::trace(visitor);
}
-PassRefPtrWillBeRawPtr<DragEventDispatchMediator> DragEventDispatchMediator::create(PassRefPtrWillBeRawPtr<DragEvent> dragEvent)
+RawPtr<DragEventDispatchMediator> DragEventDispatchMediator::create(RawPtr<DragEvent> dragEvent)
{
- return adoptRefWillBeNoop(new DragEventDispatchMediator(dragEvent));
+ return (new DragEventDispatchMediator(dragEvent));
}
-DragEventDispatchMediator::DragEventDispatchMediator(PassRefPtrWillBeRawPtr<DragEvent> dragEvent)
+DragEventDispatchMediator::DragEventDispatchMediator(RawPtr<DragEvent> dragEvent)
: EventDispatchMediator(dragEvent)
{
}

Powered by Google App Engine
This is Rietveld 408576698