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

Unified Diff: Source/platform/exported/WebSpeechSynthesisUtterance.cpp

Issue 339823003: Oilpan: move platform speech objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Trace SpeechRecognition's controller reference. Created 6 years, 6 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/platform/exported/WebSpeechSynthesisUtterance.cpp
diff --git a/Source/platform/exported/WebSpeechSynthesisUtterance.cpp b/Source/platform/exported/WebSpeechSynthesisUtterance.cpp
index 4e49ce0a43fc996a429f62cbbae623a64bc93690..8c394987641fc6edb7d59a47bc13d11ee7fa1f15 100644
--- a/Source/platform/exported/WebSpeechSynthesisUtterance.cpp
+++ b/Source/platform/exported/WebSpeechSynthesisUtterance.cpp
@@ -35,7 +35,7 @@ using namespace WebCore;
namespace blink {
-WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(const PassRefPtr<PlatformSpeechSynthesisUtterance>& utterance)
+WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(WebCore::PlatformSpeechSynthesisUtterance* utterance)
: m_private(utterance)
{
}
@@ -56,11 +56,6 @@ void WebSpeechSynthesisUtterance::reset()
m_private.reset();
}
-WebSpeechSynthesisUtterance::operator PassRefPtr<PlatformSpeechSynthesisUtterance>() const
-{
- return m_private.get();
-}
-
WebSpeechSynthesisUtterance::operator PlatformSpeechSynthesisUtterance*() const
{
return m_private.get();
« no previous file with comments | « Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp ('k') | Source/platform/exported/WebSpeechSynthesisVoice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698