Chromium Code Reviews| Index: chrome/plugin/webplugin_proxy.cc |
| =================================================================== |
| --- chrome/plugin/webplugin_proxy.cc (revision 26101) |
| +++ chrome/plugin/webplugin_proxy.cc (working copy) |
| @@ -266,10 +266,10 @@ |
| return iterator->second; |
| } |
| -int WebPluginProxy::GetRendererProcessId() { |
| +int WebPluginProxy::GetRendererId() { |
| if (channel_.get()) |
| - return channel_->peer_pid(); |
| - return 0; |
| + return channel_->renderer_id(); |
| + return -1; |
| } |
| void WebPluginProxy::DidPaint() { |