| Index: ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_network_monitor_private_proxy.cc b/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| index 0d17cd475fb7872f747bf1b2465babfb4482a5b9..ad9d06df5a111f611c3b3080f06a0694e120ed31 100644
|
| --- a/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| +++ b/ppapi/proxy/ppb_network_monitor_private_proxy.cc
|
| @@ -5,7 +5,6 @@
|
| #include "ppapi/proxy/ppb_network_monitor_private_proxy.h"
|
|
|
| #include "ppapi/proxy/enter_proxy.h"
|
| -#include "ppapi/proxy/plugin_proxy_delegate.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| #include "ppapi/shared_impl/proxy_lock.h"
|
| #include "ppapi/thunk/ppb_network_monitor_private_api.h"
|
| @@ -98,7 +97,7 @@ PP_Resource PPB_NetworkMonitor_Private_Proxy::CreateProxyResource(
|
| proxy->monitors_count_++;
|
| if (proxy->monitors_count_ == 1) {
|
| // If that is the first network monitor then send Start message.
|
| - PluginGlobals::Get()->plugin_proxy_delegate()->SendToBrowser(
|
| + PluginGlobals::Get()->GetBrowserSender()->Send(
|
| new PpapiHostMsg_PPBNetworkMonitor_Start(
|
| dispatcher->plugin_dispatcher_id()));
|
|
|
| @@ -143,7 +142,7 @@ void PPB_NetworkMonitor_Private_Proxy::OnNetworkMonitorDeleted(
|
| // Send Stop message if that was the last NetworkMonitor.
|
| PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
|
| if (dispatcher) {
|
| - PluginGlobals::Get()->plugin_proxy_delegate()->SendToBrowser(
|
| + PluginGlobals::Get()->GetBrowserSender()->Send(
|
| new PpapiHostMsg_PPBNetworkMonitor_Stop(
|
| dispatcher->plugin_dispatcher_id()));
|
| }
|
|
|