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