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(); |