Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.cpp

Issue 2361733004: Adding @keyframes rules only affects TreeScope plus host. (Closed)
Patch Set: Rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 61626ccd83cb7d8204f622796cb8f3fe303e7548..93b06a42213d428dbf2d7f800e47fbe8121a2992 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -28,7 +28,6 @@
#include "core/dom/StyleEngine.h"
#include "core/HTMLNames.h"
-#include "core/animation/DocumentTimeline.h"
#include "core/css/CSSDefaultStyleSheets.h"
#include "core/css/CSSFontSelector.h"
#include "core/css/CSSStyleSheet.h"
@@ -879,17 +878,6 @@ void StyleEngine::ensureFullscreenUAStyle()
m_resolver->resetRuleFeatures();
}
-void StyleEngine::keyframesRulesAdded()
-{
- if (m_hasUnresolvedKeyframesRule) {
- m_hasUnresolvedKeyframesRule = false;
- document().setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::StyleSheetChange));
- return;
- }
-
- document().timeline().invalidateKeyframeEffects();
-}
-
DEFINE_TRACE(StyleEngine)
{
visitor->trace(m_document);

Powered by Google App Engine
This is Rietveld 408576698