Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| index ec3514dab68bc591e14c21fd27e207fac73475ef..e143f82c3b2cb286e6c726780332bc6684822dee 100644 |
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| @@ -264,20 +264,6 @@ void WebPluginContainerImpl::setParentVisible(bool parentVisible) |
| m_webPlugin->updateVisibility(isVisible()); |
| } |
| -void WebPluginContainerImpl::setParent(Widget* widget) |
| -{ |
| - // We override this function so that if the plugin is windowed, we can call |
| - // NPP_SetWindow at the first possible moment. This ensures that |
| - // NPP_SetWindow is called before the manual load data is sent to a plugin. |
| - // If this order is reversed, Flash won't load videos. |
|
dcheng
2016/06/24 22:57:26
As far as I can tell, it works now? I tried vimeo,
esprehn
2016/06/24 23:01:42
Pepper flash doesn't supported the windowed mode I
piman
2016/06/25 01:07:01
Right, Pepper is essentially a mix of windowed and
|
| - |
| - Widget::setParent(widget); |
| - if (widget) |
| - reportGeometry(); |
| - else if (m_webPlugin) |
| - m_webPlugin->containerDidDetachFromParent(); |
| -} |
| - |
| void WebPluginContainerImpl::setPlugin(WebPlugin* plugin) |
| { |
| if (plugin == m_webPlugin) |