Index: chrome/browser/extensions/extension_devtools_browsertests.cc |
diff --git a/chrome/browser/extensions/extension_devtools_browsertests.cc b/chrome/browser/extensions/extension_devtools_browsertests.cc |
index a8e28abb2727fedb1d515f2defea83ac6c739a50..6a6f3caeb1e0d81723a58d1e98bed0152f28bd8b 100644 |
--- a/chrome/browser/extensions/extension_devtools_browsertests.cc |
+++ b/chrome/browser/extensions/extension_devtools_browsertests.cc |
@@ -80,11 +80,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionDevToolsBrowserTest, TimelineApi) { |
// Test onPageEvent event. |
result = false; |
- DevToolsMessageData message_data; |
- message_data.class_name = "ApuAgentDelegate"; |
- message_data.method_name = "dispatchToApu"; |
- message_data.arguments.push_back(""); |
- DevToolsClientMsg_RpcMessage pageEventMessage(message_data); |
+ DevToolsClientMsg_DispatchToAPU pageEventMessage(""); |
devtools_client_host->SendMessageToClient(pageEventMessage); |
ui_test_utils::ExecuteJavaScriptAndExtractBool( |
host->render_view_host(), L"", L"testReceivePageEvent()", &result); |