| Index: content/renderer/browser_plugin/browser_plugin.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
|
| index fe3ff38f252a3087254fcd66393b179e4bba6a0b..4bd6545d5300dad31b524f7e610e34370f36f19f 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -58,7 +58,8 @@ BrowserPlugin::BrowserPlugin(
|
| guest_crashed_(false),
|
| resize_pending_(false),
|
| navigate_src_sent_(false),
|
| - parent_frame_(frame->identifier()) {
|
| + parent_frame_(frame->identifier()),
|
| + process_id_(0) {
|
| BrowserPluginManager::Get()->AddBrowserPlugin(instance_id, this);
|
| bindings_.reset(new BrowserPluginBindings(this));
|
|
|
| @@ -214,8 +215,9 @@ void BrowserPlugin::GuestCrashed() {
|
| }
|
| }
|
|
|
| -void BrowserPlugin::DidNavigate(const GURL& url) {
|
| +void BrowserPlugin::DidNavigate(const GURL& url, int process_id) {
|
| src_ = url.spec();
|
| + process_id_ = process_id;
|
| if (!HasListeners(kNavigationEventName))
|
| return;
|
|
|
|
|