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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventManager.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/PointerEventManager.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventManager.h b/third_party/WebKit/Source/core/events/PointerEventManager.h
index ea851f1b29d581ad7efb15ad4820d0df00c51af3..4931f07a34dcb9d65218fa83fd1f81abd7e12bde 100644
--- a/third_party/WebKit/Source/core/events/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/events/PointerEventManager.h
@@ -27,16 +27,16 @@ class CORE_EXPORT PointerEventManager {
DISALLOW_NEW();
public:
- PassRefPtrWillBeRawPtr<PointerEvent> create(const AtomicString& type,
- const PlatformMouseEvent&, PassRefPtrWillBeRawPtr<Node> relatedTarget,
- PassRefPtrWillBeRawPtr<AbstractView>);
+ RawPtr<PointerEvent> create(const AtomicString& type,
+ const PlatformMouseEvent&, RawPtr<Node> relatedTarget,
+ RawPtr<AbstractView>);
- PassRefPtrWillBeRawPtr<PointerEvent> create(const AtomicString& type,
+ RawPtr<PointerEvent> create(const AtomicString& type,
const PlatformTouchPoint&, PlatformEvent::Modifiers,
const double width, const double height,
const double clientX, const double clientY);
- PassRefPtrWillBeRawPtr<PointerEvent> createPointerCancel(const PlatformTouchPoint&);
+ RawPtr<PointerEvent> createPointerCancel(const PlatformTouchPoint&);
PointerEventManager();
~PointerEventManager();
@@ -48,10 +48,10 @@ public:
* free even though there might have been other PointerEvents that were
* generated with the same id before.
*/
- void remove(const PassRefPtrWillBeRawPtr<PointerEvent>);
+ void remove(const RawPtr<PointerEvent>);
// Returns the node capturing this pointer id, and null if no node is capturing it.
- EventTarget* getCapturingNode(PassRefPtrWillBeRawPtr<PointerEvent>);
+ EventTarget* getCapturingNode(RawPtr<PointerEvent>);
private:
typedef long MappedId;

Powered by Google App Engine
This is Rietveld 408576698