Title: [287741] trunk/Source/WebCore
Revision
287741
Author
[email protected]
Date
2022-01-07 00:28:59 -0800 (Fri, 07 Jan 2022)

Log Message

Unreviewed, removing duplicated code added in https://commits.webkit.org/245793@trunk.

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::didMutateRules):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (287740 => 287741)


--- trunk/Source/WebCore/ChangeLog	2022-01-07 06:41:03 UTC (rev 287740)
+++ trunk/Source/WebCore/ChangeLog	2022-01-07 08:28:59 UTC (rev 287741)
@@ -1,3 +1,10 @@
+2022-01-06  Antoine Quint <[email protected]>
+
+        Unreviewed, removing duplicated code added in https://commits.webkit.org/245793@trunk.
+
+        * css/CSSStyleSheet.cpp:
+        (WebCore::CSSStyleSheet::didMutateRules):
+
 2022-01-06  Simon Fraser  <[email protected]>
 
         Ensure that the scrolling thread always commits layer position changes to reduce scrolling stutters (v2)

Modified: trunk/Source/WebCore/css/CSSStyleSheet.cpp (287740 => 287741)


--- trunk/Source/WebCore/css/CSSStyleSheet.cpp	2022-01-07 06:41:03 UTC (rev 287740)
+++ trunk/Source/WebCore/css/CSSStyleSheet.cpp	2022-01-07 08:28:59 UTC (rev 287741)
@@ -170,16 +170,6 @@
         return;
     }
 
-    if (mutationType == RuleInsertion && !contentsWereClonedForMutation && !scope->activeStyleSheetsContains(this)) {
-        if (insertedKeyframesRule) {
-            if (auto* resolver = scope->resolverIfExists())
-                resolver->addKeyframeStyle(*insertedKeyframesRule);
-            return;
-        }
-        scope->didChangeActiveStyleSheetCandidates();
-        return;
-    }
-
     if (mutationType == KeyframesRuleMutation) {
         if (auto* ownerDocument = this->ownerDocument())
             ownerDocument->keyframesRuleDidChange(modifiedKeyframesRuleName);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to