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

Unified Diff: third_party/WebKit/Source/core/events/PointerEvent.h

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/PointerEvent.h
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.h b/third_party/WebKit/Source/core/events/PointerEvent.h
index 092aa47629292bf2de720f9ddd4070c62ffa4f4c..6791fec1450adfcb10e78e6f6a6cf0386f6c1584 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.h
+++ b/third_party/WebKit/Source/core/events/PointerEvent.h
@@ -15,14 +15,14 @@ class PointerEvent final : public MouseEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PointerEvent> create()
+ static RawPtr<PointerEvent> create()
{
return adoptRefWillBeNoop(new PointerEvent);
}
- static PassRefPtrWillBeRawPtr<PointerEvent> create(const AtomicString& type, const PointerEventInit& initializer)
+ static RawPtr<PointerEvent> create(const AtomicString& type, const PointerEventInit& initializer)
{
- return adoptRefWillBeNoop(new PointerEvent(type, initializer));
+ return new PointerEvent(type, initializer);
}
int pointerId() const { return m_pointerId; }
@@ -38,7 +38,7 @@ public:
bool isMouseEvent() const override;
bool isPointerEvent() const override;
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
+ RawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
@@ -59,10 +59,10 @@ private:
class PointerEventDispatchMediator final : public EventDispatchMediator {
public:
- static PassRefPtrWillBeRawPtr<PointerEventDispatchMediator> create(PassRefPtrWillBeRawPtr<PointerEvent>);
+ static RawPtr<PointerEventDispatchMediator> create(RawPtr<PointerEvent>);
private:
- explicit PointerEventDispatchMediator(PassRefPtrWillBeRawPtr<PointerEvent>);
+ explicit PointerEventDispatchMediator(RawPtr<PointerEvent>);
PointerEvent& event() const;
DispatchEventResult dispatchEvent(EventDispatcher&) const override;
};
« no previous file with comments | « third_party/WebKit/Source/core/events/PageTransitionEvent.h ('k') | third_party/WebKit/Source/core/events/PointerEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698