Commit ae8e13b1 authored by davve@opera.com's avatar davve@opera.com

Remove KeyframeEffectModel.h include from StyleResolver.h

Replace the include with forward declarations.

Prior to this patch, KeyframeEffectModel.h had roughly 700 targets
depending on it. After this patch this number has shrunk to around 11.
In the last 90 days, KeyframeEffectModel.h was modified 13 times on
trunk, which is a relatively high number.

KeyframeEffectModel.h also pulls in a large amount of other animation
headers so they should see similar benefits.

Review URL: https://codereview.chromium.org/346803002

git-svn-id: svn://svn.chromium.org/blink/trunk@176517 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 052f0285
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#ifndef StyleResolver_h #ifndef StyleResolver_h
#define StyleResolver_h #define StyleResolver_h
#include "core/animation/KeyframeEffectModel.h"
#include "core/css/PseudoStyleRequest.h" #include "core/css/PseudoStyleRequest.h"
#include "core/css/RuleFeature.h" #include "core/css/RuleFeature.h"
#include "core/css/RuleSet.h" #include "core/css/RuleSet.h"
...@@ -45,6 +44,8 @@ ...@@ -45,6 +44,8 @@
namespace WebCore { namespace WebCore {
class AnimatableValue;
class AnimationTimeline;
class CSSAnimationUpdate; class CSSAnimationUpdate;
class CSSFontSelector; class CSSFontSelector;
class CSSRuleList; class CSSRuleList;
...@@ -53,9 +54,9 @@ class CSSStyleSheet; ...@@ -53,9 +54,9 @@ class CSSStyleSheet;
class CSSValue; class CSSValue;
class ContainerNode; class ContainerNode;
class Document; class Document;
class AnimationTimeline;
class Element; class Element;
class ElementRuleCollector; class ElementRuleCollector;
class Interpolation;
class KeyframeList; class KeyframeList;
class KeyframeValue; class KeyframeValue;
class MediaQueryEvaluator; class MediaQueryEvaluator;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment