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

Changeset 181599 in webkit


Ignore:
Timestamp:
Mar 16, 2015, 4:58:15 PM (11 years ago)
Author:
ap@apple.com
Message:

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:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181584 r181599  
     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  Csaba Osztrogonác  <ossy@webkit.org>
    212
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp

    r181514 r181599  
    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.