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

Unified Diff: Source/modules/gamepad/WebKitGamepadList.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/WebKitGamepadList.h
diff --git a/Source/modules/gamepad/WebKitGamepadList.h b/Source/modules/gamepad/WebKitGamepadList.h
index cf0eeb9b52a0dd1ac8e78b5206f15708ddf76b9c..f7b8aab5f3e6bf0a44deb67d506514832942174e 100644
--- a/Source/modules/gamepad/WebKitGamepadList.h
+++ b/Source/modules/gamepad/WebKitGamepadList.h
@@ -13,13 +13,13 @@
namespace WebCore {
-class WebKitGamepadList FINAL : public GarbageCollectedFinalized<WebKitGamepadList>, public ScriptWrappable {
+class WebKitGamepadList FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<WebKitGamepadList>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(WebKitGamepadList);
public:
static WebKitGamepadList* create()
{
return new WebKitGamepadList;
}
- ~WebKitGamepadList();
void set(unsigned index, WebKitGamepad*);
WebKitGamepad* item(unsigned index);

Powered by Google App Engine
This is Rietveld 408576698