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

Unified Diff: Source/modules/speech/SpeechRecognitionResult.h

Issue 184853006: Remove unneeded destructors and add finalization support to various classes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« Source/core/css/CSSBasicShapes.h ('K') | « Source/modules/gamepad/GamepadList.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognitionResult.h
diff --git a/Source/modules/speech/SpeechRecognitionResult.h b/Source/modules/speech/SpeechRecognitionResult.h
index f201e2e0d251a06ddabd8df730a2029a4412051d..c119e6f52c559916097874601ce64b31b8e9659d 100644
--- a/Source/modules/speech/SpeechRecognitionResult.h
+++ b/Source/modules/speech/SpeechRecognitionResult.h
@@ -37,7 +37,7 @@ namespace WebCore {
// FIXME: oilpan: the platform outer layer (WebSpeechRecognitionResult) depends on
// holding a WebPrivatePtr (a RefPtr) to this result object. When/if such pointers
// can be to GCed objects, we can drop the extra reference counting layer.
-class SpeechRecognitionResult : public RefCountedWillBeGarbageCollected<SpeechRecognitionResult>, public ScriptWrappable {
+class SpeechRecognitionResult : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionResult>, public ScriptWrappable {
public:
~SpeechRecognitionResult();
static PassRefPtrWillBeRawPtr<SpeechRecognitionResult> create(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionAlternative> >&, bool final);
« Source/core/css/CSSBasicShapes.h ('K') | « Source/modules/gamepad/GamepadList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698