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

Unified Diff: Source/modules/gamepad/GamepadList.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/GamepadList.cpp
diff --git a/Source/modules/gamepad/GamepadList.cpp b/Source/modules/gamepad/GamepadList.cpp
index 0a956c35a0b92fbbf0c4ac70f1ec02193cca3be7..0dfdabb2e803437c44634322a1ae5aebd51c7d87 100644
--- a/Source/modules/gamepad/GamepadList.cpp
+++ b/Source/modules/gamepad/GamepadList.cpp
@@ -33,9 +33,7 @@ GamepadList::GamepadList()
ScriptWrappable::init(this);
}
-GamepadList::~GamepadList()
-{
-}
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(GamepadList);
void GamepadList::set(unsigned index, Gamepad* gamepad)
{

Powered by Google App Engine
This is Rietveld 408576698