Title: [115698] trunk/Source/WebKit2
- Revision
- 115698
- Author
- [email protected]
- Date
- 2012-04-30 18:38:12 -0700 (Mon, 30 Apr 2012)
Log Message
Crash when opening plug-ins in background tabs
https://bugs.webkit.org/show_bug.cgi?id=85255
<rdar://problem/11344053>
Reviewed by Dan Bernstein.
* PluginProcess/mac/PluginControllerProxyMac.mm:
(WebKit::PluginControllerProxy::setLayerHostingMode):
m_layerHostingContext can be null for plug-ins that don't use the Core Animation drawing model, so check for that.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (115697 => 115698)
--- trunk/Source/WebKit2/ChangeLog 2012-05-01 01:20:54 UTC (rev 115697)
+++ trunk/Source/WebKit2/ChangeLog 2012-05-01 01:38:12 UTC (rev 115698)
@@ -1,3 +1,15 @@
+2012-04-30 Anders Carlsson <[email protected]>
+
+ Crash when opening plug-ins in background tabs
+ https://bugs.webkit.org/show_bug.cgi?id=85255
+ <rdar://problem/11344053>
+
+ Reviewed by Dan Bernstein.
+
+ * PluginProcess/mac/PluginControllerProxyMac.mm:
+ (WebKit::PluginControllerProxy::setLayerHostingMode):
+ m_layerHostingContext can be null for plug-ins that don't use the Core Animation drawing model, so check for that.
+
2012-04-30 Yael Aharon <[email protected]>
[Qt][WK2] Fixed layers are shaking when zoom level is not 1.0 due to a rounding error.
Modified: trunk/Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm (115697 => 115698)
--- trunk/Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm 2012-05-01 01:20:54 UTC (rev 115697)
+++ trunk/Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm 2012-05-01 01:38:12 UTC (rev 115698)
@@ -115,7 +115,8 @@
m_plugin->setLayerHostingMode(layerHostingMode);
updateLayerHostingContext(layerHostingMode);
- m_connection->connection()->send(Messages::PluginProxy::SetLayerHostingContextID(m_layerHostingContext->contextID()), m_pluginInstanceID);
+ if (m_layerHostingContext)
+ m_connection->connection()->send(Messages::PluginProxy::SetLayerHostingContextID(m_layerHostingContext->contextID()), m_pluginInstanceID);
}
void PluginControllerProxy::updateLayerHostingContext(LayerHostingMode layerHostingMode)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes