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

Unified Diff: Source/core/speech/SpeechInputEvent.h

Issue 169343002: [WIP]Add WebPrivateHeapPtr and use it for speech platform layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « no previous file | Source/core/speech/SpeechInputResult.h » ('j') | Source/modules/speech/SpeechRecognition.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/speech/SpeechInputEvent.h
diff --git a/Source/core/speech/SpeechInputEvent.h b/Source/core/speech/SpeechInputEvent.h
index d9cd9be82b5fe0d90788dbf7669625354ec54a54..c7e622da9385ac67c09c5f3a1f9bf09a03e434fb 100644
--- a/Source/core/speech/SpeechInputEvent.h
+++ b/Source/core/speech/SpeechInputEvent.h
@@ -30,7 +30,7 @@
#include "core/events/Event.h"
#include "core/speech/SpeechInputResultList.h"
-
+#include "heap/Handle.h"
#include "wtf/PassRefPtr.h"
namespace WebCore {
@@ -49,7 +49,7 @@ private:
SpeechInputEvent();
SpeechInputEvent(const AtomicString& eventType, const SpeechInputResultArray& results);
- RefPtr<SpeechInputResultList> m_results;
+ RefPtrWillBePersistent<SpeechInputResultList> m_results;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/speech/SpeechInputResult.h » ('j') | Source/modules/speech/SpeechRecognition.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698