| Index: content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc
|
| diff --git a/content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc b/content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc
|
| index 42ff212bf41759973e23bc4f773a24c13f1fc9f5..b2420845bba5a13ed12756a09cf637d612f884af 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc
|
| +++ b/content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/run_loop.h"
|
| #include "build/build_config.h"
|
| #include "content/browser/gamepad/gamepad_test_helpers.h"
|
| #include "content/browser/renderer_host/pepper/browser_ppapi_host_test.h"
|
| @@ -155,7 +156,7 @@ TEST_F(PepperGamepadHostTest, MAYBE_WaitForReply) {
|
| fetcher->WaitForDataReadAndCallbacksIssued();
|
|
|
| // It should not have sent the callback message.
|
| - service_->message_loop().RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| EXPECT_EQ(0u, sink().message_count());
|
|
|
| // Set a button down and wait for it to be read twice.
|
| @@ -166,7 +167,7 @@ TEST_F(PepperGamepadHostTest, MAYBE_WaitForReply) {
|
| fetcher->WaitForDataReadAndCallbacksIssued();
|
|
|
| // It should have sent a callback.
|
| - service_->message_loop().RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| ppapi::proxy::ResourceMessageReplyParams reply_params;
|
| IPC::Message reply_msg;
|
| ASSERT_TRUE(sink().GetFirstResourceReplyMatching(
|
|
|