Index: content/child/resource_dispatcher_unittest.cc |
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc |
index 806fd26ad08801a78ba400f5a79b50f32ef77bce..26283f890e902a65d7d74098e9a4e00839867ca5 100644 |
--- a/content/child/resource_dispatcher_unittest.cc |
+++ b/content/child/resource_dispatcher_unittest.cc |
@@ -639,8 +639,8 @@ TEST_F(ResourceDispatcherTest, CancelDuringCallbackWithWrapperPeer) { |
NotifyRequestComplete(id, strlen(kTestPageContents)); |
EXPECT_TRUE(peer_context.received_response); |
- // Request should have been cancelled. |
- ConsumeCancelRequest(id); |
+ // Request should have been cancelled with no additional messages. |
+ EXPECT_EQ(0u, queued_messages()); |
EXPECT_TRUE(peer_context.cancelled); |
// Any future messages related to the request should be ignored. |