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

Unified Diff: Source/modules/gamepad/GamepadButton.h

Issue 367113005: Remove destructors from ScriptWrappable objects in modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Finalizable transition type Created 6 years, 6 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: Source/modules/gamepad/GamepadButton.h
diff --git a/Source/modules/gamepad/GamepadButton.h b/Source/modules/gamepad/GamepadButton.h
index 878aaca5470f0e4b1eb9f90c41eedc5796c2252b..1cfc5b768a72d8ffbbc2ce3f7c968de84f1163a5 100644
--- a/Source/modules/gamepad/GamepadButton.h
+++ b/Source/modules/gamepad/GamepadButton.h
@@ -11,10 +11,10 @@
namespace WebCore {
-class GamepadButton FINAL : public GarbageCollectedFinalized<GamepadButton>, public ScriptWrappable {
+class GamepadButton FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<GamepadButton>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(GamepadButton);
public:
static GamepadButton* create();
- ~GamepadButton();
double value() const { return m_value; }
void setValue(double val) { m_value = val; }

Powered by Google App Engine
This is Rietveld 408576698