| Index: components/plugins/renderer/loadable_plugin_placeholder.cc
|
| diff --git a/components/plugins/renderer/loadable_plugin_placeholder.cc b/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| index d0263d3e5b6d03ae2208a43dfcfb23721af3a640..9bc0478ac0ef13f76b2cb3a9fb548a52a113ab15 100644
|
| --- a/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| +++ b/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| @@ -127,10 +127,11 @@ void LoadablePluginPlaceholder::ReplacePlugin(blink::WebPlugin* new_plugin) {
|
| // this point.
|
| new_plugin = container->plugin();
|
|
|
| - plugin()->RestoreTitleText();
|
| container->invalidate();
|
| container->reportGeometry();
|
| - plugin()->ReplayReceivedData(new_plugin);
|
| + if (plugin()->focused())
|
| + new_plugin->updateFocus(true, blink::WebFocusTypeNone);
|
| + container->element().setAttribute("title", plugin()->old_title());
|
| plugin()->destroy();
|
| }
|
|
|
|
|