Commit 6c88c9ed authored by andersca@apple.com's avatar andersca@apple.com
Browse files

Make sure that the layer hosting mode is kept up to date if it changes before...

Make sure that the layer hosting mode is kept up to date if it changes before the plug-in is initialized
https://bugs.webkit.org/show_bug.cgi?id=84180
<rdar://problem/11265113>

Reviewed by Andreas Kling.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setLayerHostingMode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 48ed8c51
2012-04-17 Anders Carlsson <andersca@apple.com>
Make sure that the layer hosting mode is kept up to date if it changes before the plug-in is initialized
https://bugs.webkit.org/show_bug.cgi?id=84180
<rdar://problem/11265113>
Reviewed by Andreas Kling.
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setLayerHostingMode):
2012-04-17 Jer Noble <jer.noble@apple.com>
 
Exiting full screen video brings the wrong Safari window to the foreground
......@@ -436,8 +436,13 @@ bool PluginView::sendComplexTextInput(uint64_t pluginComplexTextInputIdentifier,
void PluginView::setLayerHostingMode(LayerHostingMode layerHostingMode)
{
if (!m_isInitialized || !m_plugin)
if (!m_plugin)
return;
if (!m_isInitialized) {
m_parameters.layerHostingMode = layerHostingMode;
return;
}
m_plugin->setLayerHostingMode(layerHostingMode);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment