Changeset 224627 in webkit


Ignore:
Timestamp:
Nov 9, 2017 7:22:00 AM (7 years ago)
Author:
matthew_hanson@apple.com
Message:

Cherry-pick r224604. rdar://problem/35421652

Location:
tags/Safari-605.1.13/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-605.1.13/Source/WebCore/ChangeLog

    r224579 r224627  
     12017-11-09  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r224604. rdar://problem/35421652
     4
     5    2017-11-08  Ryosuke Niwa  <rniwa@webkit.org>
     6
     7            REGRESSION(r224534): Crash inside Document::updateStyleIfNeeded
     8            https://bugs.webkit.org/show_bug.cgi?id=179442
     9
     10            Reviewed by Simon Fraser.
     11
     12            Disable the assertion when the web thread is used.
     13
     14            * dom/Document.cpp:
     15            (WebCore::Document::updateStyleIfNeeded):
     16            (WebCore::Document::updateLayout):
     17
    1182017-11-08  Zalan Bujtas  <zalan@apple.com>
    219
  • tags/Safari-605.1.13/Source/WebCore/dom/Document.cpp

    r224534 r224627  
    19401940
    19411941    // The early exit for needsStyleRecalc() is needed when updateWidgetPositions() is called in runOrScheduleAsynchronousTasks().
     1942#if !USE(WEB_THREAD)
    19421943    RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(NoEventDispatchAssertion::InMainThread::isEventAllowed() || (frameView && frameView->isInChildFrameWithFrameFlattening()));
     1944#endif
    19431945
    19441946    resolveStyle();
     
    19571959        return;
    19581960    }
     1961#if !USE(WEB_THREAD)
    19591962    RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(NoEventDispatchAssertion::InMainThread::isEventAllowed() || (frameView && frameView->isInChildFrameWithFrameFlattening()));
    1960 
     1963#endif
    19611964
    19621965    RenderView::RepaintRegionAccumulator repaintRegionAccumulator(renderView());
Note: See TracChangeset for help on using the changeset viewer.