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