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

Unified Diff: public/web/WebSpeechInputResult.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
Index: public/web/WebSpeechInputResult.h
diff --git a/public/web/WebSpeechInputResult.h b/public/web/WebSpeechInputResult.h
index 2222690eb538ca8144d0eed5556e9e27f8e5434b..9b335f4318444060b385dc300c54b7dfcf9f9745 100644
--- a/public/web/WebSpeechInputResult.h
+++ b/public/web/WebSpeechInputResult.h
@@ -27,7 +27,7 @@
#define WebSpeechInputResult_h
#include "../platform/WebCommon.h"
-#include "../platform/WebPrivatePtr.h"
+#include "../platform/WebPrivateHeapPtr.h"
#include "../platform/WebString.h"
#include "../platform/WebVector.h"
@@ -56,12 +56,12 @@ public:
BLINK_EXPORT void reset();
#if BLINK_IMPLEMENTATION
- WebSpeechInputResult(const WTF::PassRefPtr<WebCore::SpeechInputResult>&);
- operator WTF::PassRefPtr<WebCore::SpeechInputResult>() const;
+ WebSpeechInputResult(const WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>&);
+ operator WTF::PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>() const;
#endif
private:
- WebPrivatePtr<WebCore::SpeechInputResult> m_private;
+ WebPrivateHeapPtr<WebCore::SpeechInputResult> m_private;
};
typedef WebVector<WebSpeechInputResult> WebSpeechInputResultArray;

Powered by Google App Engine
This is Rietveld 408576698