Changeset 85430 in webkit


Ignore:
Timestamp:
May 1, 2011 1:47:03 PM (13 years ago)
Author:
andersca@apple.com
Message:

2011-05-01 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Don't try to create a backing store for a 0x0 plug-in
https://bugs.webkit.org/show_bug.cgi?id=59887

  • WebProcess/Plugins/PluginProxy.cpp: (WebKit::PluginProxy::geometryDidChange):
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r85421 r85430  
     12011-05-01  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Don't try to create a backing store for a 0x0 plug-in
     6        https://bugs.webkit.org/show_bug.cgi?id=59887
     7
     8        * WebProcess/Plugins/PluginProxy.cpp:
     9        (WebKit::PluginProxy::geometryDidChange):
     10
    1112011-05-01  Anders Carlsson  <andersca@apple.com>
    212
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp

    r82445 r85430  
    174174    m_frameRect = frameRect;
    175175
    176     if (!needsBackingStore()) {
     176    if (m_frameRect.isEmpty() || !needsBackingStore()) {
    177177        ShareableBitmap::Handle pluginBackingStoreHandle;
    178178        m_connection->connection()->send(Messages::PluginControllerProxy::GeometryDidChange(frameRect, clipRect, pluginBackingStoreHandle), m_pluginInstanceID, CoreIPC::DispatchMessageEvenWhenWaitingForSyncReply);
Note: See TracChangeset for help on using the changeset viewer.