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

Unified Diff: Source/modules/speech/SpeechRecognitionResult.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/speech/SpeechRecognitionResult.h
diff --git a/Source/modules/speech/SpeechRecognitionResult.h b/Source/modules/speech/SpeechRecognitionResult.h
index feb4ee42ee8f57b7ab66c11732d866ddef31edad..d587da10beaa5ccacaefe1a3c21c00934130c45f 100644
--- a/Source/modules/speech/SpeechRecognitionResult.h
+++ b/Source/modules/speech/SpeechRecognitionResult.h
@@ -32,9 +32,9 @@
namespace WebCore {
-class SpeechRecognitionResult FINAL : public GarbageCollectedFinalized<SpeechRecognitionResult>, public ScriptWrappable {
+class SpeechRecognitionResult FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<SpeechRecognitionResult>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(SpeechRecognitionResult);
public:
- ~SpeechRecognitionResult();
static SpeechRecognitionResult* create(const HeapVector<Member<SpeechRecognitionAlternative> >&, bool final);
unsigned long length() { return m_alternatives.size(); }

Powered by Google App Engine
This is Rietveld 408576698