Index: ppapi/nacl_irt/irt_pnacl_translator_link.cc |
diff --git a/ppapi/nacl_irt/irt_pnacl_translator_link.cc b/ppapi/nacl_irt/irt_pnacl_translator_link.cc |
index e2e35410f1996dbaae6dd9da911501956395805c..5ecd9803621ab39226d84260d1e5ab94f909e130 100644 |
--- a/ppapi/nacl_irt/irt_pnacl_translator_link.cc |
+++ b/ppapi/nacl_irt/irt_pnacl_translator_link.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/macros.h" |
+#include "base/run_loop.h" |
#include "build/build_config.h" |
#include "ipc/ipc_listener.h" |
#include "ipc/ipc_sync_channel.h" |
@@ -72,7 +73,7 @@ class TranslatorLinkListener : public IPC::Listener { |
void ServeLinkRequest(CallbackFunc func) { |
base::MessageLoop loop; |
new TranslatorLinkListener(ppapi::GetRendererIPCChannelHandle(), func); |
- loop.Run(); |
+ base::RunLoop().Run(); |
} |
} |