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

Unified Diff: third_party/WebKit/Source/core/dom/DOMDataView.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/Source/core/dom/DOMDataView.h
diff --git a/third_party/WebKit/Source/core/dom/DOMDataView.h b/third_party/WebKit/Source/core/dom/DOMDataView.h
index 2b54c4517fa029d5cf523f682c54a98dd6b21da9..f18d435d7fa2d095f95e762d9a41ecc1263d34f3 100644
--- a/third_party/WebKit/Source/core/dom/DOMDataView.h
+++ b/third_party/WebKit/Source/core/dom/DOMDataView.h
@@ -15,12 +15,12 @@ class CORE_EXPORT DOMDataView final : public DOMArrayBufferView {
public:
typedef char ValueType;
- static PassRefPtr<DOMDataView> create(PassRefPtr<DOMArrayBufferBase>, unsigned byteOffset, unsigned byteLength);
+ static DOMDataView* create(DOMArrayBufferBase*, unsigned byteOffset, unsigned byteLength);
v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationContext) override;
private:
- DOMDataView(PassRefPtr<WTF::ArrayBufferView> dataView, PassRefPtr<DOMArrayBufferBase> domArrayBuffer)
+ DOMDataView(PassRefPtr<WTF::ArrayBufferView> dataView, DOMArrayBufferBase* domArrayBuffer)
: DOMArrayBufferView(dataView, domArrayBuffer) { }
};

Powered by Google App Engine
This is Rietveld 408576698