diff options
Diffstat (limited to 'chrome/plugin/plugin_channel.cc')
-rw-r--r-- | chrome/plugin/plugin_channel.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc index ab2d508..605feab 100644 --- a/chrome/plugin/plugin_channel.cc +++ b/chrome/plugin/plugin_channel.cc @@ -8,8 +8,8 @@ #include "chrome/common/plugin_messages.h" #include "base/string_util.h" -#include "chrome/plugin/plugin_process.h" #include "chrome/plugin/plugin_thread.h" +#include "chrome/plugin/plugin_process.h" PluginChannel* PluginChannel::GetPluginChannel( int process_id, HANDLE renderer_handle, MessageLoop* ipc_message_loop) { @@ -33,11 +33,11 @@ PluginChannel* PluginChannel::GetPluginChannel( PluginChannel::PluginChannel() : in_send_(0) { SendUnblockingOnlyDuringDispatch(); - PluginProcess::current()->AddRefProcess(); + PluginProcess::AddRefProcess(); } PluginChannel::~PluginChannel() { - PluginProcess::current()->ReleaseProcess(); + PluginProcess::ReleaseProcess(); } bool PluginChannel::Send(IPC::Message* msg) { @@ -84,7 +84,7 @@ void PluginChannel::OnGenerateRouteID(int* route_id) { } int PluginChannel::GenerateRouteID() { - static LONG last_id = 0; + static LONG last_id = 0; return InterlockedIncrement(&last_id); } |