Changeset 224604 in webkit


Ignore:
Timestamp:
Nov 8, 2017 3:54:15 PM (6 years ago)
Author:
rniwa@webkit.org
Message:

REGRESSION(r224534): Crash inside Document::updateStyleIfNeeded
https://bugs.webkit.org/show_bug.cgi?id=179442

Reviewed by Simon Fraser.

Disable the assertion when the web thread is used.

  • dom/Document.cpp:

(WebCore::Document::updateStyleIfNeeded):
(WebCore::Document::updateLayout):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224602 r224604  
     12017-11-08  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        REGRESSION(r224534): Crash inside Document::updateStyleIfNeeded
     4        https://bugs.webkit.org/show_bug.cgi?id=179442
     5
     6        Reviewed by Simon Fraser.
     7
     8        Disable the assertion when the web thread is used.
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::updateStyleIfNeeded):
     12        (WebCore::Document::updateLayout):
     13
    1142017-11-08  Colin Bendell  <colin@bendell.ca>
    215
  • trunk/Source/WebCore/dom/Document.cpp

    r224534 r224604  
    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.