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

Unified Diff: Source/core/speech/SpeechInputResult.cpp

Issue 170423004: Add Oilpan transition types for core/speech. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert SpeechInputResult::create() overload to take a const ref. 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 | « Source/core/speech/SpeechInputResult.h ('k') | Source/core/speech/SpeechInputResult.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/speech/SpeechInputResult.cpp
diff --git a/Source/core/speech/SpeechInputResult.cpp b/Source/core/speech/SpeechInputResult.cpp
index 1673455fe4be00dd758c6f4c8c1075f95a9fa0a6..36bcca51f5b6d4ac6b936456c0f8d94d099f876b 100644
--- a/Source/core/speech/SpeechInputResult.cpp
+++ b/Source/core/speech/SpeechInputResult.cpp
@@ -30,14 +30,16 @@
namespace WebCore {
-PassRefPtr<SpeechInputResult> SpeechInputResult::create(const String& utterance, double confidence)
+DEFINE_GC_INFO(SpeechInputResult);
+
+PassRefPtrWillBeRawPtr<SpeechInputResult> SpeechInputResult::create(const String& utterance, double confidence)
{
- return adoptRef(new SpeechInputResult(utterance, confidence));
+ return adoptRefWillBeNoop(new SpeechInputResult(utterance, confidence));
}
-PassRefPtr<SpeechInputResult> SpeechInputResult::create(const SpeechInputResult& source)
+PassRefPtrWillBeRawPtr<SpeechInputResult> SpeechInputResult::create(const SpeechInputResult& source)
{
- return adoptRef(new SpeechInputResult(source.m_utterance, source.m_confidence));
+ return adoptRefWillBeNoop(new SpeechInputResult(source.m_utterance, source.m_confidence));
}
SpeechInputResult::SpeechInputResult(const String& utterance, double confidence)
« no previous file with comments | « Source/core/speech/SpeechInputResult.h ('k') | Source/core/speech/SpeechInputResult.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698