Index: Source/modules/gamepad/GamepadButton.h |
diff --git a/Source/modules/gamepad/GamepadButton.h b/Source/modules/gamepad/GamepadButton.h |
index 845c4a300ada9c9f6e2a0c88e31abe4f495e55af..b2e03d64da3c09db5c7f414a9cbd6b2ae497c7a6 100644 |
--- a/Source/modules/gamepad/GamepadButton.h |
+++ b/Source/modules/gamepad/GamepadButton.h |
@@ -11,10 +11,9 @@ |
namespace blink { |
-class GamepadButton FINAL : public GarbageCollectedFinalized<GamepadButton>, public ScriptWrappable { |
+class GamepadButton FINAL : public GarbageCollected<GamepadButton>, public ScriptWrappable { |
public: |
static GamepadButton* create(); |
- ~GamepadButton(); |
double value() const { return m_value; } |
void setValue(double val) { m_value = val; } |
@@ -22,7 +21,7 @@ public: |
bool pressed() const { return m_pressed; } |
void setPressed(bool val) { m_pressed = val; } |
- void trace(Visitor*); |
+ void trace(Visitor*) { } |
private: |
GamepadButton(); |