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

Unified Diff: Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl

Issue 21625003: StyleBuilder should not know about StyleResolver. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl
diff --git a/Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl b/Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl
index c89324c1850b88c739aaa9639d758c080a92e4bb..f3e1109300b23d085efb3fe763726943f9cd6705 100644
--- a/Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl
+++ b/Source/core/scripts/templates/StyleBuilderFunctions.h.tmpl
@@ -4,7 +4,6 @@
namespace WebCore {
class CSSValue;
-class StyleResolver;
class StyleResolverState;
class StyleBuilderFunctions {
@@ -12,9 +11,9 @@ public:
{%- for property_id, property in properties.items() if not property.use_handlers_for %}
{% call wrap_with_condition(property.condition) %}
- static void applyInitial{{property_id}}(StyleResolver*, StyleResolverState&);
- static void applyInherit{{property_id}}(StyleResolver*, StyleResolverState&);
- static void applyValue{{property_id}}(StyleResolver*, StyleResolverState&, CSSValue*);
+ static void applyInitial{{property_id}}(StyleResolverState&);
+ static void applyInherit{{property_id}}(StyleResolverState&);
+ static void applyValue{{property_id}}(StyleResolverState&, CSSValue*);
{%- endcall %}
{%- endfor %}

Powered by Google App Engine
This is Rietveld 408576698