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

Unified Diff: public/web/WebSpeechRecognitionResult.h

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
« public/web/WebSpeechGrammar.h ('K') | « public/web/WebSpeechInputResult.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSpeechRecognitionResult.h
diff --git a/public/web/WebSpeechRecognitionResult.h b/public/web/WebSpeechRecognitionResult.h
index e070ca2533f4700b3d70c6c62f3f9f05a836c108..228e6ea47c5d8b6c6980fb35731de921be9f2bef 100644
--- a/public/web/WebSpeechRecognitionResult.h
+++ b/public/web/WebSpeechRecognitionResult.h
@@ -27,7 +27,7 @@
#define WebSpeechRecognitionResult_h
#include "../platform/WebCommon.h"
-#include "../platform/WebPrivatePtr.h"
+#include "../platform/WebPrivateHeapPtr.h"
#include "../platform/WebString.h"
#include "../platform/WebVector.h"
@@ -48,11 +48,11 @@ public:
BLINK_EXPORT void reset();
#if BLINK_IMPLEMENTATION
- operator WTF::PassRefPtr<WebCore::SpeechRecognitionResult>() const;
+ operator WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechRecognitionResult>() const;
#endif
private:
- WebPrivatePtr<WebCore::SpeechRecognitionResult> m_private;
+ WebPrivateHeapPtr<WebCore::SpeechRecognitionResult> m_private;
};
} // namespace blink
« public/web/WebSpeechGrammar.h ('K') | « public/web/WebSpeechInputResult.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698