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

Unified Diff: third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h

Issue 1964183004: Revert of Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/Source/core/dom/DOMArrayBufferBase.h
diff --git a/third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h b/third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h
index de9ddcfacbf864c993211b8ed4cb1e344e7fbe21..1ad25ca13884da1a5523da6c1af0ad6c6bc9454c 100644
--- a/third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h
+++ b/third_party/WebKit/Source/core/dom/DOMArrayBufferBase.h
@@ -7,12 +7,12 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
-#include "platform/heap/Handle.h"
#include "wtf/ArrayBuffer.h"
+#include "wtf/RefCounted.h"
namespace blink {
-class CORE_EXPORT DOMArrayBufferBase : public GarbageCollectedFinalized<DOMArrayBufferBase>, public ScriptWrappable {
+class CORE_EXPORT DOMArrayBufferBase : public RefCounted<DOMArrayBufferBase>, public ScriptWrappable {
public:
virtual ~DOMArrayBufferBase() { }
@@ -33,8 +33,6 @@
return v8::Local<v8::Object>();
}
- DEFINE_INLINE_VIRTUAL_TRACE() { }
-
protected:
explicit DOMArrayBufferBase(PassRefPtr<WTF::ArrayBuffer> buffer)
: m_buffer(buffer)
@@ -47,4 +45,4 @@
} // namespace blink
-#endif // DOMArrayBufferBase_h
+#endif // DOMArrayBuffer_h
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMArrayBuffer.cpp ('k') | third_party/WebKit/Source/core/dom/DOMArrayBufferView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698