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

Unified Diff: third_party/WebKit/Source/modules/gamepad/GamepadEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 89a7e17f8347c462715934dfb32b0abdcdc6521e..0787a7372ac78339d41afcb445f5340fe23dff60 100644
--- a/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
@@ -14,10 +14,6 @@ namespace blink {
class GamepadEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static GamepadEvent* create()
- {
- return new GamepadEvent;
- }
static GamepadEvent* create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
{
return new GamepadEvent(type, canBubble, cancelable, gamepad);
@@ -35,7 +31,6 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- GamepadEvent();
GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad*);
GamepadEvent(const AtomicString&, const GamepadEventInit&);

Powered by Google App Engine
This is Rietveld 408576698