Index: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h |
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h |
index 40e0567486344ff3837b6b15bf1c6015657d4adb..45cf589711d673e11bbb05022599076b8c7b39a7 100644 |
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h |
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h |
@@ -343,16 +343,16 @@ public: |
} |
MOCK_METHOD1(didFetchDataLoadedBlobHandleMock, void(RefPtr<BlobDataHandle>)); |
- MOCK_METHOD1(didFetchDataLoadedArrayBufferMock, void(RefPtr<DOMArrayBuffer>)); |
+ MOCK_METHOD1(didFetchDataLoadedArrayBufferMock, void(DOMArrayBuffer*)); |
MOCK_METHOD1(didFetchDataLoadedString, void(const String&)); |
MOCK_METHOD0(didFetchDataLoadStream, void()); |
MOCK_METHOD0(didFetchDataLoadFailed, void()); |
- // In mock methods we use RefPtr<> rather than PassRefPtr<>. |
- void didFetchDataLoadedArrayBuffer(PassRefPtr<DOMArrayBuffer> arrayBuffer) override |
+ void didFetchDataLoadedArrayBuffer(DOMArrayBuffer* arrayBuffer) override |
{ |
didFetchDataLoadedArrayBufferMock(arrayBuffer); |
} |
+ // In mock methods we use RefPtr<> rather than PassRefPtr<>. |
void didFetchDataLoadedBlobHandle(PassRefPtr<BlobDataHandle> blobDataHandle) override |
{ |
didFetchDataLoadedBlobHandleMock(blobDataHandle); |