Index: ppapi/nacl_irt/irt_pnacl_translator_compile.cc |
diff --git a/ppapi/nacl_irt/irt_pnacl_translator_compile.cc b/ppapi/nacl_irt/irt_pnacl_translator_compile.cc |
index 5a339f154556cd2a5617cbefe0b72c9a4b233618..74022d71be9a3b574547889cec0e1fe85ea31d35 100644 |
--- a/ppapi/nacl_irt/irt_pnacl_translator_compile.cc |
+++ b/ppapi/nacl_irt/irt_pnacl_translator_compile.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" |
@@ -101,7 +102,7 @@ class TranslatorCompileListener : public IPC::Listener { |
void ServeTranslateRequest(const struct nacl_irt_pnacl_compile_funcs* funcs) { |
base::MessageLoop loop; |
new TranslatorCompileListener(ppapi::GetRendererIPCChannelHandle(), funcs); |
- loop.Run(); |
+ base::RunLoop().Run(); |
} |
} |