summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/command_buffer_stub.cc2
-rw-r--r--chrome/plugin/plugin_channel.cc2
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/plugin/command_buffer_stub.cc b/chrome/plugin/command_buffer_stub.cc
index c74de77..116fb4d 100644
--- a/chrome/plugin/command_buffer_stub.cc
+++ b/chrome/plugin/command_buffer_stub.cc
@@ -19,7 +19,7 @@ CommandBufferStub::CommandBufferStub(PluginChannel* channel,
plugin_host_route_id_(plugin_host_route_id),
window_(window) {
route_id_ = channel->GenerateRouteID();
- channel->AddRoute(route_id_, this, false);
+ channel->AddRoute(route_id_, this, NULL);
}
CommandBufferStub::~CommandBufferStub() {
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc
index b169b9e..3e5b3af 100644
--- a/chrome/plugin/plugin_channel.cc
+++ b/chrome/plugin/plugin_channel.cc
@@ -220,7 +220,7 @@ void PluginChannel::OnCreateInstance(const std::string& mime_type,
*instance_id = GenerateRouteID();
scoped_refptr<WebPluginDelegateStub> stub = new WebPluginDelegateStub(
mime_type, *instance_id, this);
- AddRoute(*instance_id, stub, false);
+ AddRoute(*instance_id, stub, NULL);
plugin_stubs_.push_back(stub);
}
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index c0de5d2..9b1ec53 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -158,7 +158,7 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params,
command_line.GetSwitchValue(switches::kPluginPath));
- gfx::PluginWindowHandle parent = NULL;
+ gfx::PluginWindowHandle parent = 0;
#if defined(OS_WIN)
parent = gfx::NativeViewFromId(params.containing_window);
#elif defined(OS_LINUX)