Changeset 183461 in webkit
- Timestamp:
- Apr 27, 2015, 11:52:20 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r183454 r183461 1 2015-04-27 Simon Fraser <simon.fraser@apple.com> 2 3 Eliminate styleDidChange with StyleDifferenceEqual when updates are actually necessary 4 https://bugs.webkit.org/show_bug.cgi?id=144198 5 6 Followup: fix assertions seen in fullscreen and pseudo-element tests. These code 7 paths set the style to the existing pointer, but with a SyntheticStyleChange. 8 We have to avoid an early return in this case. 9 10 * rendering/RenderElement.cpp: 11 (WebCore::RenderElement::setStyle): 12 1 13 2015-04-25 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Source/WebCore/rendering/RenderElement.cpp
r183454 r183461 402 402 ASSERT(m_hasInitializedStyle || isRenderView()); 403 403 404 if (m_style.ptr() == style.ptr() ) {404 if (m_style.ptr() == style.ptr() && minimalStyleDifference != StyleDifferenceEqual) { 405 405 // FIXME: Can we change things so we never hit this code path? 406 406 // We need to run through adjustStyleDifference() for iframes, plugins, and canvas so … … 409 409 ASSERT(!isEmbeddedObject()); 410 410 ASSERT(!isCanvas()); 411 ASSERT(minimalStyleDifference == StyleDifferenceEqual);412 411 return; 413 412 }
Note:
See TracChangeset
for help on using the changeset viewer.