⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 294836 in webkit


Ignore:
Timestamp:
May 25, 2022, 4:49:25 PM (4 years ago)
Author:
Alan Coon
Message:

Cherry-pick r293147. rdar://problem/93601944

Skip release assert during container query resolution
​https://bugs.webkit.org/show_bug.cgi?id=239537

Patch by Rob Buis <​rbuis@igalia.com> on 2022-04-21
Reviewed by Antti Koivisto.

Skip release assert during container query resolution
since resolveStyle will be a no-op as the container
query resolution was started in resolveStyle, so calling
resolveStyle the second time will bail right away.

  • dom/Document.cpp: (WebCore::Document::updateStyleIfNeeded):

Canonical link: ​https://commits.webkit.org/249843@main
git-svn-id: ​https://svn.webkit.org/repository/webkit/trunk@293147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-613-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-613-branch/Source/WebCore/ChangeLog

    r294305 r294836  
     12022-05-19  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r293147. rdar://problem/93601944
     4
     5    Skip release assert during container query resolution
     6    https://bugs.webkit.org/show_bug.cgi?id=239537
     7   
     8    Patch by Rob Buis <rbuis@igalia.com> on 2022-04-21
     9    Reviewed by Antti Koivisto.
     10   
     11    Skip release assert during container query resolution
     12    since resolveStyle will be a no-op as the container
     13    query resolution was started in resolveStyle, so calling
     14    resolveStyle the second time will bail right away.
     15   
     16    * dom/Document.cpp:
     17    (WebCore::Document::updateStyleIfNeeded):
     18   
     19    Canonical link: https://commits.webkit.org/249843@main
     20    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     21
     22    2022-04-21  Rob Buis  <rbuis@igalia.com>
     23
     24            Skip release assert during container query resolution
     25            https://bugs.webkit.org/show_bug.cgi?id=239537
     26
     27            Reviewed by Antti Koivisto.
     28
     29            Skip release assert during container query resolution
     30            since resolveStyle will be a no-op as the container
     31            query resolution was started in resolveStyle, so calling
     32            resolveStyle the second time will bail right away.
     33
     34            * dom/Document.cpp:
     35            (WebCore::Document::updateStyleIfNeeded):
     36
    1372022-05-16  Alan Coon  <alancoon@apple.com>
    238
  • branches/safari-613-branch/Source/WebCore/dom/Document.cpp

    r293081 r294836  
    21492149bool Document::updateStyleIfNeeded()
    21502150{
     2151    if (topDocument().isResolvingContainerQueries())
     2152        return false;
    21512153    RefPtr<FrameView> frameView = view();
    21522154    {
Note: See TracChangeset for help on using the changeset viewer.