Changeset 267722 in webkit
- Timestamp:
- Sep 28, 2020, 5:38:18 PM (6 years ago)
- Location:
- branches/safari-610-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dom/Element.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610-branch/Source/WebCore/ChangeLog
r267721 r267722 1 2020-09-28 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r266899. rdar://problem/69586659 4 5 Integrator's note: as some of the symbols present on trunk are not available on branch, special modifications had to be made to this cherry-pick to build. 6 7 Address a post-commit review comment after r266887 8 https://bugs.webkit.org/show_bug.cgi?id=216257 9 10 Reviewed by Darin Adler. 11 12 Remove a check that currently makes us conditionally set `IsComputedStyleInvalidFlag` if there is a computed 13 style in rare data. There should be no change in behavior; this just makes the code a bit simpler. 14 15 * dom/Element.cpp: 16 (WebCore::Element::invalidateStyle): 17 (WebCore::Element::storeDisplayContentsStyle): 18 19 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266899 268f45cc-cd09-0410-ab3c-d52691b4dbfc 20 21 2020-09-10 Wenson Hsieh <wenson_hsieh@apple.com> 22 23 Integrator's note: as some of the symbols present on trunk are not available on branch, special modifications 24 had to be made to this cherry-pick. 25 26 Address a post-commit review comment after r266887 27 https://bugs.webkit.org/show_bug.cgi?id=216257 28 29 Reviewed by Darin Adler. 30 31 Remove a check that currently makes us conditionally set `IsComputedStyleInvalidFlag` if there is a computed 32 style in rare data. There should be no change in behavior; this just makes the code a bit simpler. 33 34 * dom/Element.cpp: 35 (WebCore::Element::invalidateStyle): 36 (WebCore::Element::storeDisplayContentsStyle): 37 1 38 2020-09-28 Alan Coon <alancoon@apple.com> 2 39 -
branches/safari-610-branch/Source/WebCore/dom/Element.cpp
r267721 r267722 1948 1948 // FIXME: This flag should be set whenever styles are invalidated while computed styles are present, 1949 1949 // not just in this codepath. 1950 if (hasRareData() && elementRareData()->computedStyle()) 1951 setFlag(IsComputedStyleInvalidFlag); 1950 setFlag(IsComputedStyleInvalidFlag); 1952 1951 } 1953 1952 … … 2000 1999 ASSERT(!renderer() || isPseudoElement()); 2001 2000 ensureElementRareData().setComputedStyle(WTFMove(style)); 2001 clearFlag(IsComputedStyleInvalidFlag); 2002 2002 } 2003 2003
Note:
See TracChangeset
for help on using the changeset viewer.