Changeset 228054 in webkit


Ignore:
Timestamp:
Feb 4, 2018 6:18:38 PM (6 years ago)
Author:
jmarcell@apple.com
Message:

Cherry-pick r227927. rdar://problem/37145549

Location:
branches/safari-605-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-605-branch/Source/WebKit/ChangeLog

    r227950 r228054  
     12018-02-04  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r227927. rdar://problem/37145549
     4
     5    2018-01-31  Tim Horton  <timothy_horton@apple.com>
     6
     7            Occasional null deref under WebPageProxy::updateBackingStoreDiscardableState()
     8            https://bugs.webkit.org/show_bug.cgi?id=182349
     9            <rdar://problem/27822258>
     10
     11            Reviewed by Simon Fraser.
     12
     13            * UIProcess/WebPageProxy.cpp:
     14            (WebKit::WebPageProxy::updateBackingStoreDiscardableState):
     15            m_drawingArea can be null during process launch and relaunch.
     16
     17            Cocoa ports don't use the result of setBackingStoreIsDiscardable(),
     18            but they do run this code to keep it up to date.
     19
    1202018-01-31  Jason Marcell  <jmarcell@apple.com>
    221
  • branches/safari-605-branch/Source/WebKit/UIProcess/WebPageProxy.cpp

    r227774 r228054  
    62856285    ASSERT(isValid());
    62866286
     6287    if (!m_drawingArea)
     6288        return;
     6289
    62876290    bool isDiscardable;
    62886291
Note: See TracChangeset for help on using the changeset viewer.