Index: content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
index 4ac8ca50235fd4e65a32668851ee631baaf29b0b..1df68d80c94006894a72ea30adfb4b4d8d2b06e4 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
@@ -212,8 +212,10 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
int32 ipc_callbacks_id = dispatcher.cursor_transaction_ids_.begin()->first; |
// Now simululate a "null cursor" response. |
- dispatcher.OnSuccessValue( |
- dispatcher.CurrentWorkerId(), ipc_callbacks_id, std::string()); |
+ IndexedDBMsg_CallbacksSuccessValue_Params params; |
+ params.ipc_thread_id = dispatcher.CurrentWorkerId(); |
+ params.ipc_callbacks_id = ipc_callbacks_id; |
+ dispatcher.OnSuccessValue(params); |
// Ensure the map result was deleted. |
EXPECT_EQ(0UL, dispatcher.cursor_transaction_ids_.size()); |