⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181636 in webkit


Ignore:
Timestamp:
Mar 17, 2015, 4:46:54 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r181599 - ASSERT(m_plugin) on plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html
https://bugs.webkit.org/show_bug.cgi?id=142637

Reviewed by Dean Jackson.

  • WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::pluginSnapshotTimerFired):

m_plugin can be legitimately null.

Location:
releases/WebKitGTK/webkit-2.8/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.8/Source/WebKit2/ChangeLog

    r181633 r181636  
     12015-03-16  Alexey Proskuryakov  <ap@apple.com>
     2
     3        ASSERT(m_plugin) on plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html
     4        https://bugs.webkit.org/show_bug.cgi?id=142637
     5
     6        Reviewed by Dean Jackson.
     7
     8        * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::pluginSnapshotTimerFired):
     9        m_plugin can be legitimately null.
     10
    1112015-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
    212
  • releases/WebKitGTK/webkit-2.8/Source/WebKit2/WebProcess/Plugins/PluginView.cpp

    r180115 r181636  
    17391739void PluginView::pluginSnapshotTimerFired()
    17401740{
    1741     ASSERT(m_plugin);
    1742 
    17431741#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
    17441742    HTMLPlugInImageElement& plugInImageElement = downcast<HTMLPlugInImageElement>(*m_pluginElement);
     
    17481746#endif
    17491747
    1750     if (m_plugin->supportsSnapshotting()) {
     1748    if (m_plugin && m_plugin->supportsSnapshotting()) {
    17511749        // Snapshot might be 0 if plugin size is 0x0.
    17521750        RefPtr<ShareableBitmap> snapshot = m_plugin->snapshot();
Note: See TracChangeset for help on using the changeset viewer.