summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/css_style_rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/css_style_rule.h')
-rw-r--r--chromium/third_party/blink/renderer/core/css/css_style_rule.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/css_style_rule.h b/chromium/third_party/blink/renderer/core/css/css_style_rule.h
index a4e648bb88a..3b0233f9ffc 100644
--- a/chromium/third_party/blink/renderer/core/css/css_style_rule.h
+++ b/chromium/third_party/blink/renderer/core/css/css_style_rule.h
@@ -54,10 +54,10 @@ class CORE_EXPORT CSSStyleRule final : public CSSRule {
// FIXME: Not CSSOM. Remove.
StyleRule* GetStyleRule() const { return style_rule_.Get(); }
- void Trace(Visitor*) override;
+ void Trace(Visitor*) const override;
private:
- CSSRule::Type type() const override { return kStyleRule; }
+ CSSRule::Type GetType() const override { return kStyleRule; }
Member<StyleRule> style_rule_;
mutable Member<StyleRuleCSSStyleDeclaration> properties_cssom_wrapper_;
@@ -67,7 +67,7 @@ class CORE_EXPORT CSSStyleRule final : public CSSRule {
template <>
struct DowncastTraits<CSSStyleRule> {
static bool AllowFrom(const CSSRule& rule) {
- return rule.type() == CSSRule::kStyleRule;
+ return rule.GetType() == CSSRule::kStyleRule;
}
};