Diff
Modified: trunk/Source/WebCore/ChangeLog (289224 => 289225)
--- trunk/Source/WebCore/ChangeLog 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/ChangeLog 2022-02-07 17:35:56 UTC (rev 289225)
@@ -1,3 +1,23 @@
+2022-02-07 Antoine Quint <[email protected]>
+
+ Remove unnecessary DocumentTimeline.h includes
+ https://bugs.webkit.org/show_bug.cgi?id=236236
+
+ Reviewed by Dean Jackson.
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ * dom/Element.cpp:
+ * dom/PseudoElement.cpp:
+ * history/CachedFrame.cpp:
+ * page/Frame.cpp:
+ * page/Page.cpp:
+ * rendering/RenderElement.cpp:
+ * rendering/RenderLayer.cpp:
+ * rendering/RenderLayerBacking.cpp:
+ * rendering/updating/RenderTreeUpdater.cpp:
+ * style/StyleTreeResolver.cpp:
+ (WebCore::Style::TreeResolver::createAnimatedElementUpdate):
+
2022-02-07 Ada Chan <[email protected]>
[WebXR] Handle updating session visibility state from PlatformXRCoordinator
Modified: trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp (289224 => 289225)
--- trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -53,7 +53,6 @@
#include "CursorList.h"
#include "DeprecatedCSSOMValue.h"
#include "Document.h"
-#include "DocumentTimeline.h"
#include "FontCascade.h"
#include "FontSelectionValueInlines.h"
#include "FontTaggedSettings.h"
Modified: trunk/Source/WebCore/dom/Element.cpp (289224 => 289225)
--- trunk/Source/WebCore/dom/Element.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/dom/Element.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -46,7 +46,6 @@
#include "DOMWindow.h"
#include "DocumentInlines.h"
#include "DocumentSharedObjectPool.h"
-#include "DocumentTimeline.h"
#include "Editing.h"
#include "ElementAnimationRareData.h"
#include "ElementInlines.h"
Modified: trunk/Source/WebCore/dom/PseudoElement.cpp (289224 => 289225)
--- trunk/Source/WebCore/dom/PseudoElement.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/dom/PseudoElement.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -29,7 +29,6 @@
#include "PseudoElement.h"
#include "ContentData.h"
-#include "DocumentTimeline.h"
#include "InspectorInstrumentation.h"
#include "KeyframeEffectStack.h"
#include "RenderElement.h"
Modified: trunk/Source/WebCore/history/CachedFrame.cpp (289224 => 289225)
--- trunk/Source/WebCore/history/CachedFrame.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/history/CachedFrame.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -32,7 +32,6 @@
#include "DOMWindow.h"
#include "Document.h"
#include "DocumentLoader.h"
-#include "DocumentTimeline.h"
#include "Frame.h"
#include "FrameLoader.h"
#include "FrameLoaderClient.h"
Modified: trunk/Source/WebCore/page/Frame.cpp (289224 => 289225)
--- trunk/Source/WebCore/page/Frame.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/page/Frame.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -40,7 +40,6 @@
#include "Chrome.h"
#include "ChromeClient.h"
#include "DOMWindow.h"
-#include "DocumentTimeline.h"
#include "DocumentTimelinesController.h"
#include "DocumentType.h"
#include "Editing.h"
Modified: trunk/Source/WebCore/page/Page.cpp (289224 => 289225)
--- trunk/Source/WebCore/page/Page.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/page/Page.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -51,7 +51,6 @@
#include "DocumentInlines.h"
#include "DocumentLoader.h"
#include "DocumentMarkerController.h"
-#include "DocumentTimeline.h"
#include "DocumentTimelinesController.h"
#include "DragController.h"
#include "Editing.h"
Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (289224 => 289225)
--- trunk/Source/WebCore/rendering/RenderElement.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -30,7 +30,6 @@
#include "ContentData.h"
#include "CursorList.h"
#include "DocumentInlines.h"
-#include "DocumentTimeline.h"
#include "ElementChildIterator.h"
#include "EventHandler.h"
#include "FocusController.h"
Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (289224 => 289225)
--- trunk/Source/WebCore/rendering/RenderLayer.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -54,7 +54,6 @@
#include "DeprecatedGlobalSettings.h"
#include "Document.h"
#include "DocumentMarkerController.h"
-#include "DocumentTimeline.h"
#include "Editor.h"
#include "Element.h"
#include "ElementInlines.h"
Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (289224 => 289225)
--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -33,7 +33,6 @@
#include "CachedImage.h"
#include "Chrome.h"
#include "DebugOverlayRegions.h"
-#include "DocumentTimeline.h"
#include "EventRegion.h"
#include "Frame.h"
#include "FrameView.h"
Modified: trunk/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp (289224 => 289225)
--- trunk/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -30,7 +30,6 @@
#include "ComposedTreeAncestorIterator.h"
#include "ComposedTreeIterator.h"
#include "Document.h"
-#include "DocumentTimeline.h"
#include "Element.h"
#include "FullscreenManager.h"
#include "HTMLParserIdioms.h"
Modified: trunk/Source/WebCore/style/StyleTreeResolver.cpp (289224 => 289225)
--- trunk/Source/WebCore/style/StyleTreeResolver.cpp 2022-02-07 17:33:37 UTC (rev 289224)
+++ trunk/Source/WebCore/style/StyleTreeResolver.cpp 2022-02-07 17:35:56 UTC (rev 289225)
@@ -29,7 +29,6 @@
#include "CSSFontSelector.h"
#include "ComposedTreeAncestorIterator.h"
#include "ComposedTreeIterator.h"
-#include "DocumentTimeline.h"
#include "ElementIterator.h"
#include "Frame.h"
#include "HTMLBodyElement.h"
@@ -352,8 +351,7 @@
OptionSet<AnimationImpact> animationImpact;
// First, we need to make sure that any new CSS animation occuring on this element has a matching WebAnimation
- // on the document timeline. Note that we get timeline() on the Document here because we need a timeline created
- // in case no Web Animations have been created through the JS API.
+ // on the document timeline.
if (document.backForwardCacheState() == Document::NotInBackForwardCache && !document.renderView()->printing()) {
if (oldStyle && (oldStyle->hasTransitions() || newStyle->hasTransitions()))
styleable.updateCSSTransitions(*oldStyle, *newStyle);