| Index: chrome/browser/ppapi_plugin_process_host.cc
|
| diff --git a/chrome/browser/ppapi_plugin_process_host.cc b/chrome/browser/ppapi_plugin_process_host.cc
|
| index c90d1f4eda982bce7bfb8968c6e73db520b33444..225cc80ed1475393ea0553c2b998eea1d7c729b6 100644
|
| --- a/chrome/browser/ppapi_plugin_process_host.cc
|
| +++ b/chrome/browser/ppapi_plugin_process_host.cc
|
| @@ -28,7 +28,7 @@ void PpapiPluginProcessHost::Init(const FilePath& path,
|
| reply_msg_.reset(reply_msg);
|
|
|
| if (!CreateChannel()) {
|
| - ReplyToRenderer(NULL, IPC::ChannelHandle());
|
| + ReplyToRenderer(base::kNullProcessHandle, IPC::ChannelHandle());
|
| return;
|
| }
|
|
|
| @@ -38,7 +38,7 @@ void PpapiPluginProcessHost::Init(const FilePath& path,
|
|
|
| FilePath exe_path = ChildProcessHost::GetChildPath(plugin_launcher.empty());
|
| if (exe_path.empty()) {
|
| - ReplyToRenderer(NULL, IPC::ChannelHandle());
|
| + ReplyToRenderer(base::kNullProcessHandle, IPC::ChannelHandle());
|
| return;
|
| }
|
|
|
| @@ -92,13 +92,13 @@ void PpapiPluginProcessHost::OnChannelConnected(int32 peer_pid) {
|
| PpapiMsg_LoadPlugin* msg = new PpapiMsg_LoadPlugin(
|
| plugins_renderer_handle, plugin_path_, filter_->render_process_id());
|
| if (!Send(msg)) // Just send an empty handle on failure.
|
| - ReplyToRenderer(NULL, IPC::ChannelHandle());
|
| + ReplyToRenderer(base::kNullProcessHandle, IPC::ChannelHandle());
|
| // This function will result in OnChannelCreated getting called to finish.
|
| }
|
|
|
| void PpapiPluginProcessHost::OnChannelError() {
|
| if (reply_msg_.get())
|
| - ReplyToRenderer(NULL, IPC::ChannelHandle());
|
| + ReplyToRenderer(base::kNullProcessHandle, IPC::ChannelHandle());
|
| }
|
|
|
| void PpapiPluginProcessHost::OnPluginLoaded(
|
|
|