| Index: chrome/browser/plugin_observer.cc
|
| ===================================================================
|
| --- chrome/browser/plugin_observer.cc (revision 115777)
|
| +++ chrome/browser/plugin_observer.cc (working copy)
|
| @@ -352,9 +352,9 @@
|
|
|
| void PluginObserver::InstallMissingPlugin(PluginInstaller* installer) {
|
| if (installer->url_for_display()) {
|
| - tab_contents()->OpenURL(OpenURLParams(
|
| + web_contents()->OpenURL(OpenURLParams(
|
| installer->plugin_url(),
|
| - content::Referrer(tab_contents()->GetURL(),
|
| + content::Referrer(web_contents()->GetURL(),
|
| WebKit::WebReferrerPolicyDefault),
|
| NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED, false));
|
| } else {
|
|
|