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

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

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
Index: Source/modules/speech/SpeechRecognitionResult.cpp
diff --git a/Source/modules/speech/SpeechRecognitionResult.cpp b/Source/modules/speech/SpeechRecognitionResult.cpp
index 09c58590db27c29bda8a79d585789d7d46963d22..6be2c551013fcefc53a518c55629ec449ca51f94 100644
--- a/Source/modules/speech/SpeechRecognitionResult.cpp
+++ b/Source/modules/speech/SpeechRecognitionResult.cpp
@@ -35,9 +35,9 @@ SpeechRecognitionResult::~SpeechRecognitionResult()
{
}
-PassRefPtr<SpeechRecognitionResult> SpeechRecognitionResult::create(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionAlternative> >& alternatives, bool final)
+PassRefPtrWillBeRawPtr<SpeechRecognitionResult> SpeechRecognitionResult::create(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionAlternative> >& alternatives, bool final)
{
- return adoptRef(new SpeechRecognitionResult(alternatives, final));
+ return adoptRefWillBeNoop(new SpeechRecognitionResult(alternatives, final));
}
SpeechRecognitionAlternative* SpeechRecognitionResult::item(unsigned long index)

Powered by Google App Engine
This is Rietveld 408576698