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

Unified Diff: Source/web/WebSpeechInputResult.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/web/WebSpeechInputResult.cpp
diff --git a/Source/web/WebSpeechInputResult.cpp b/Source/web/WebSpeechInputResult.cpp
index 6120d8f74cca0abd040cdf44ce740ec9576c3b51..a6fa69c00f63d53bc616a5bcf1814144541e4e4b 100644
--- a/Source/web/WebSpeechInputResult.cpp
+++ b/Source/web/WebSpeechInputResult.cpp
@@ -38,7 +38,7 @@ void WebSpeechInputResult::reset()
m_private.reset();
}
-WebSpeechInputResult::WebSpeechInputResult(const PassRefPtr<WebCore::SpeechInputResult>& value)
+WebSpeechInputResult::WebSpeechInputResult(const PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>& value)
: m_private(value)
{
}
@@ -53,7 +53,7 @@ void WebSpeechInputResult::assign(const WebSpeechInputResult& other)
m_private = WebCore::SpeechInputResult::create(*other.m_private.get());
}
-WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>() const
+WebSpeechInputResult::operator PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>() const
{
return m_private.get();
}

Powered by Google App Engine
This is Rietveld 408576698