Changeset 99243 in webkit
- Timestamp:
- Nov 3, 2011, 4:17:44 PM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r99242 r99243 1 2011-11-03 Anders Carlsson <andersca@apple.com> 2 3 Move plug-in size and backing store checks to PluginProxy::updateBackingStore 4 https://bugs.webkit.org/show_bug.cgi?id=71508 5 6 Reviewed by Darin Adler. 7 8 * WebProcess/Plugins/PluginProxy.cpp: 9 (WebKit::PluginProxy::geometryDidChange): 10 Remove code to send back an empty backing store if the plug-in size is empty 11 or doesn't need a backing store. This check is now done... 12 13 (WebKit::PluginProxy::updateBackingStore): 14 ...here. 15 1 16 2011-11-03 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp
r99242 r99243 176 176 ASSERT(m_isStarted); 177 177 178 if (m_pluginSize.isEmpty() || !needsBackingStore()) {179 ShareableBitmap::Handle pluginBackingStoreHandle;180 m_connection->connection()->send(Messages::PluginControllerProxy::GeometryDidChange(m_pluginSize, m_clipRect, m_pluginToRootViewTransform, contentsScaleFactor(), pluginBackingStoreHandle), m_pluginInstanceID, CoreIPC::DispatchMessageEvenWhenWaitingForSyncReply);181 return;182 }183 184 178 ShareableBitmap::Handle pluginBackingStoreHandle; 185 179 … … 443 437 bool PluginProxy::updateBackingStore() 444 438 { 439 if (m_pluginSize.isEmpty() || !needsBackingStore()) 440 return false; 441 445 442 IntSize backingStoreSize = m_pluginSize; 446 443 backingStoreSize.scale(contentsScaleFactor());
Note:
See TracChangeset
for help on using the changeset viewer.