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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleRule.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/css/CSSStyleRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.h b/third_party/WebKit/Source/core/css/CSSStyleRule.h
index 757a289c941cb77133e54d7e8c141adc1e2dc898..42875276b834e938a9244b632ce9ac7044910632 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleRule.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleRule.h
@@ -59,7 +59,7 @@ public:
private:
CSSStyleRule(StyleRule*, CSSStyleSheet*);
- CSSRule::Type type() const override { return STYLE_RULE; }
+ CSSRule::Type type() const override { return kStyleRule; }
String generateSelectorText() const;
@@ -67,7 +67,7 @@ private:
mutable Member<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
};
-DEFINE_CSS_RULE_TYPE_CASTS(CSSStyleRule, STYLE_RULE);
+DEFINE_CSS_RULE_TYPE_CASTS(CSSStyleRule, kStyleRule);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp ('k') | third_party/WebKit/Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698