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

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

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.cpp
diff --git a/Source/modules/gamepad/GamepadButton.cpp b/Source/modules/gamepad/GamepadButton.cpp
index cb64dc9ca7745294b70c3098137e448ec42795ff..75b5279e62f0d7fe7f1354c7713c06f1f9a7c7aa 100644
--- a/Source/modules/gamepad/GamepadButton.cpp
+++ b/Source/modules/gamepad/GamepadButton.cpp
@@ -19,9 +19,7 @@ GamepadButton::GamepadButton()
ScriptWrappable::init(this);
}
-GamepadButton::~GamepadButton()
-{
-}
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(GamepadButton);
void GamepadButton::trace(Visitor* visitor)
{

Powered by Google App Engine
This is Rietveld 408576698