Changeset 224604 in webkit
- Timestamp:
- Nov 8, 2017 3:54:15 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r224602 r224604 1 2017-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 1 14 2017-11-08 Colin Bendell <colin@bendell.ca> 2 15 -
trunk/Source/WebCore/dom/Document.cpp
r224534 r224604 1940 1940 1941 1941 // The early exit for needsStyleRecalc() is needed when updateWidgetPositions() is called in runOrScheduleAsynchronousTasks(). 1942 #if !USE(WEB_THREAD) 1942 1943 RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(NoEventDispatchAssertion::InMainThread::isEventAllowed() || (frameView && frameView->isInChildFrameWithFrameFlattening())); 1944 #endif 1943 1945 1944 1946 resolveStyle(); … … 1957 1959 return; 1958 1960 } 1961 #if !USE(WEB_THREAD) 1959 1962 RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(NoEventDispatchAssertion::InMainThread::isEventAllowed() || (frameView && frameView->isInChildFrameWithFrameFlattening())); 1960 1963 #endif 1961 1964 1962 1965 RenderView::RepaintRegionAccumulator repaintRegionAccumulator(renderView());
Note: See TracChangeset
for help on using the changeset viewer.