Index: Source/web/WebSpeechGrammar.cpp |
diff --git a/Source/web/WebSpeechGrammar.cpp b/Source/web/WebSpeechGrammar.cpp |
index 3d95263f959ccfa1a24d607268e5be2323a71974..3397d4fd64b44000c68145928ba95b0dd33a83d0 100644 |
--- a/Source/web/WebSpeechGrammar.cpp |
+++ b/Source/web/WebSpeechGrammar.cpp |
@@ -41,14 +41,14 @@ void WebSpeechGrammar::assign(const WebSpeechGrammar& other) |
m_private = other.m_private; |
} |
-WebSpeechGrammar::WebSpeechGrammar(const PassRefPtrWillBeRawPtr<WebCore::SpeechGrammar>& value) |
- : m_private(value) |
+WebSpeechGrammar::WebSpeechGrammar(const WebCore::SpeechGrammar* value) |
tkent
2014/06/09 01:28:46
This is not a mechanical change. The argument typ
sof
2014/06/09 12:24:32
This is a good issue to bring up as we remove tran
tkent
2014/06/10 03:19:14
I understand your point. But it's not the topic o
|
+ : m_private(const_cast<WebCore::SpeechGrammar*>(value)) |
{ |
} |
-WebSpeechGrammar& WebSpeechGrammar::operator=(const PassRefPtrWillBeRawPtr<WebCore::SpeechGrammar>& value) |
+WebSpeechGrammar& WebSpeechGrammar::operator=(const WebCore::SpeechGrammar* value) |
{ |
- m_private = value; |
+ m_private = const_cast<WebCore::SpeechGrammar*>(value); |
return *this; |
} |