X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnet%2Fquic%2Freliable_quic_stream_test.cc;h=535e4408000f3a9deacb76cea1b5fc9ebce5271e;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=f188783e425c7a546ca262457db548d05cd3fde8;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/net/quic/reliable_quic_stream_test.cc b/src/net/quic/reliable_quic_stream_test.cc index f188783..535e440 100644 --- a/src/net/quic/reliable_quic_stream_test.cc +++ b/src/net/quic/reliable_quic_stream_test.cc @@ -504,7 +504,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithQuicAckNotifier) { // The arguments to delegate->OnAckNotification are the sum of the // arguments to proxy_delegate OnAckNotification calls. - EXPECT_CALL(*delegate, OnAckNotification(111, 222, 333, 444, zero_)); + EXPECT_CALL(*delegate.get(), OnAckNotification(111, 222, 333, 444, zero_)); proxy_delegate->OnAckNotification(100, 200, 300, 400, zero_); } @@ -545,7 +545,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataAckNotificationBeforeFlush) { stream_->OnCanWrite(); // Handle the ack for the second write. - EXPECT_CALL(*delegate, OnAckNotification(101, 202, 303, 404, zero_)); + EXPECT_CALL(*delegate.get(), OnAckNotification(101, 202, 303, 404, zero_)); proxy_delegate->OnAckNotification(100, 200, 300, 400, zero_); } @@ -566,7 +566,7 @@ TEST_F(ReliableQuicStreamTest, WriteAndBufferDataWithAckNotiferNoBuffer) { EXPECT_FALSE(HasWriteBlockedStreams()); // Handle the ack. - EXPECT_CALL(*delegate, OnAckNotification(1, 2, 3, 4, zero_)); + EXPECT_CALL(*delegate.get(), OnAckNotification(1, 2, 3, 4, zero_)); proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_); } @@ -591,7 +591,7 @@ TEST_F(ReliableQuicStreamTest, BufferOnWriteAndBufferDataWithAckNotifer) { stream_->OnCanWrite(); // Handle the ack. - EXPECT_CALL(*delegate, OnAckNotification(1, 2, 3, 4, zero_)); + EXPECT_CALL(*delegate.get(), OnAckNotification(1, 2, 3, 4, zero_)); proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_); } @@ -620,7 +620,7 @@ TEST_F(ReliableQuicStreamTest, WriteAndBufferDataWithAckNotiferOnlyFinRemains) { // Handle the acks. proxy_delegate->OnAckNotification(1, 2, 3, 4, zero_); - EXPECT_CALL(*delegate, OnAckNotification(11, 22, 33, 44, zero_)); + EXPECT_CALL(*delegate.get(), OnAckNotification(11, 22, 33, 44, zero_)); proxy_delegate->OnAckNotification(10, 20, 30, 40, zero_); }