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

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 140913011: Trim FontSelector interface a bit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index b72d53f2bb1420c7370638a05b36f391bdfa32e7..c30f5a130ae7c4e7e545366d59c5e01bcbd08a6f 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -23,6 +23,7 @@
#define StyleResolver_h
#include "core/animation/KeyframeEffectModel.h"
+#include "core/css/CSSFontSelectorClient.h"
#include "core/css/PseudoStyleRequest.h"
#include "core/css/RuleFeature.h"
#include "core/css/RuleSet.h"
@@ -100,7 +101,7 @@ struct CSSPropertyValue {
};
// This class selects a RenderStyle for a given element based on a collection of stylesheets.
-class StyleResolver FINAL : public FontSelectorClient {
+class StyleResolver FINAL : public CSSFontSelectorClient {
WTF_MAKE_NONCOPYABLE(StyleResolver); WTF_MAKE_FAST_ALLOCATED;
public:
explicit StyleResolver(Document&);
@@ -229,8 +230,8 @@ public:
PassRefPtr<PseudoElement> createPseudoElementIfNeeded(Element&, PseudoId);
private:
- // FontSelectorClient implementation.
- virtual void fontsNeedUpdate(FontSelector*) OVERRIDE;
+ // CSSFontSelectorClient implementation.
+ virtual void fontsNeedUpdate(CSSFontSelector*) OVERRIDE;
private:
void initWatchedSelectorRules(const Vector<RefPtr<StyleRule> >& watchedSelectors);

Powered by Google App Engine
This is Rietveld 408576698