Index: third_party/WebKit/public/web/WebArrayBuffer.h |
diff --git a/third_party/WebKit/public/web/WebArrayBuffer.h b/third_party/WebKit/public/web/WebArrayBuffer.h |
index 668bbfdbe72ebe2607e67785d267d03a6434dda5..883e62f2a3e3a8653fb81d72870cac0ac9b9bad0 100644 |
--- a/third_party/WebKit/public/web/WebArrayBuffer.h |
+++ b/third_party/WebKit/public/web/WebArrayBuffer.h |
@@ -34,6 +34,10 @@ |
#include "../platform/WebCommon.h" |
#include "../platform/WebPrivatePtr.h" |
+#if INSIDE_BLINK |
+namespace WTF { template <typename T> class PassRefPtr; } |
+#endif |
+ |
namespace blink { |
class DOMArrayBuffer; |
@@ -60,9 +64,9 @@ |
BLINK_EXPORT unsigned byteLength() const; |
#if INSIDE_BLINK |
- BLINK_EXPORT WebArrayBuffer(DOMArrayBuffer*); |
- BLINK_EXPORT WebArrayBuffer& operator=(DOMArrayBuffer*); |
- BLINK_EXPORT operator DOMArrayBuffer*() const; |
+ BLINK_EXPORT WebArrayBuffer(const WTF::PassRefPtr<DOMArrayBuffer>&); |
+ BLINK_EXPORT WebArrayBuffer& operator=(const WTF::PassRefPtr<DOMArrayBuffer>&); |
+ BLINK_EXPORT operator WTF::PassRefPtr<DOMArrayBuffer>() const; |
#endif |
protected: |