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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp

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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSRule.h ('k') | third_party/WebKit/Source/core/css/CSSStyleRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp b/third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp
index 45d5bcd649e0f36bade15d42f5ab5cc07b4371ed..6376b4ba9ab8a050ecf99620a02a36f13800b90f 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp
+++ b/third_party/WebKit/Source/core/css/CSSStyleDeclarationTest.cpp
@@ -19,7 +19,7 @@ TEST(CSSStyleDeclarationTest, getPropertyShorthand)
helper.addCSSRules("div { padding: var(--p); }");
ASSERT_TRUE(helper.cssRules());
ASSERT_EQ(1u, helper.cssRules()->length());
- ASSERT_EQ(CSSRule::STYLE_RULE, helper.cssRules()->item(0)->type());
+ ASSERT_EQ(CSSRule::kStyleRule, helper.cssRules()->item(0)->type());
CSSStyleRule* styleRule = toCSSStyleRule(helper.cssRules()->item(0));
CSSStyleDeclaration* style = styleRule->style();
ASSERT_TRUE(style);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSRule.h ('k') | third_party/WebKit/Source/core/css/CSSStyleRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698