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

Unified Diff: third_party/WebKit/public/web/WebArrayBuffer.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 years, 8 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: 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 883e62f2a3e3a8653fb81d72870cac0ac9b9bad0..668bbfdbe72ebe2607e67785d267d03a6434dda5 100644
--- a/third_party/WebKit/public/web/WebArrayBuffer.h
+++ b/third_party/WebKit/public/web/WebArrayBuffer.h
@@ -34,10 +34,6 @@
#include "../platform/WebCommon.h"
#include "../platform/WebPrivatePtr.h"
-#if INSIDE_BLINK
-namespace WTF { template <typename T> class PassRefPtr; }
-#endif
-
namespace blink {
class DOMArrayBuffer;
@@ -64,9 +60,9 @@ public:
BLINK_EXPORT unsigned byteLength() const;
#if INSIDE_BLINK
- BLINK_EXPORT WebArrayBuffer(const WTF::PassRefPtr<DOMArrayBuffer>&);
- BLINK_EXPORT WebArrayBuffer& operator=(const WTF::PassRefPtr<DOMArrayBuffer>&);
- BLINK_EXPORT operator WTF::PassRefPtr<DOMArrayBuffer>() const;
+ BLINK_EXPORT WebArrayBuffer(DOMArrayBuffer*);
+ BLINK_EXPORT WebArrayBuffer& operator=(DOMArrayBuffer*);
+ BLINK_EXPORT operator DOMArrayBuffer*() const;
#endif
protected:

Powered by Google App Engine
This is Rietveld 408576698