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

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadEvent.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, 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/modules/gamepad/GamepadEvent.h
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h b/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
index b12e555135f31302036662af3dbdfa562ac79755..cb062f2e0c3b0bff50660f2a790be7c59cc1c433 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
@@ -14,17 +14,17 @@ namespace blink {
class GamepadEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<GamepadEvent> create()
+ static RawPtr<GamepadEvent> create()
{
return adoptRefWillBeNoop(new GamepadEvent);
}
- static PassRefPtrWillBeRawPtr<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
+ static RawPtr<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
{
- return adoptRefWillBeNoop(new GamepadEvent(type, canBubble, cancelable, gamepad));
+ return new GamepadEvent(type, canBubble, cancelable, gamepad);
}
- static PassRefPtrWillBeRawPtr<GamepadEvent> create(const AtomicString& type, const GamepadEventInit& initializer)
+ static RawPtr<GamepadEvent> create(const AtomicString& type, const GamepadEventInit& initializer)
{
- return adoptRefWillBeNoop(new GamepadEvent(type, initializer));
+ return new GamepadEvent(type, initializer);
}
~GamepadEvent() override;
@@ -39,7 +39,7 @@ private:
GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad*);
GamepadEvent(const AtomicString&, const GamepadEventInit&);
- PersistentWillBeMember<Gamepad> m_gamepad;
+ Member<Gamepad> m_gamepad;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698