Chromium Code Reviews| Index: public/web/WebSpeechGrammar.h |
| diff --git a/public/web/WebSpeechGrammar.h b/public/web/WebSpeechGrammar.h |
| index 6c6f1379fd070ac47e8d310a5981e5e8d47fa983..948f4f6e6b8c0c095044feba857334c261c81f4d 100644 |
| --- a/public/web/WebSpeechGrammar.h |
| +++ b/public/web/WebSpeechGrammar.h |
| @@ -27,7 +27,7 @@ |
| #define WebSpeechGrammar_h |
| #include "../platform/WebCommon.h" |
| -#include "../platform/WebPrivatePtr.h" |
| +#include "../platform/WebPrivateHeapPtr.h" |
| #include "../platform/WebURL.h" |
| namespace WebCore { |
| @@ -49,12 +49,12 @@ public: |
| BLINK_EXPORT void assign(const WebSpeechGrammar&); |
| #if BLINK_IMPLEMENTATION |
| - WebSpeechGrammar(const WTF::PassRefPtr<WebCore::SpeechGrammar>&); |
| - WebSpeechGrammar& operator=(const WTF::PassRefPtr<WebCore::SpeechGrammar>&); |
| + WebSpeechGrammar(const WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechGrammar>&); |
|
haraken
2014/02/17 09:04:57
Add explicit.
|
| + WebSpeechGrammar& operator=(const WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechGrammar>&); |
|
haraken
2014/02/17 09:04:57
Add explicit.
|
| #endif |
| private: |
| - WebPrivatePtr<WebCore::SpeechGrammar> m_private; |
| + WebPrivateHeapPtr<WebCore::SpeechGrammar> m_private; |
|
haraken
2014/02/17 09:04:57
Shall we call this WebPrivateGarbageCollectedPtr ?
sof
2014/02/17 09:23:21
Alright; I'm splitting out this wrapper class into
|
| }; |
| } // namespace blink |