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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp

Issue 2890733002: Make EBorderStyle an enum class. (Closed)
Patch Set: Build for Mac Created 3 years, 7 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/layout/LayoutThemeTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp b/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp
index a1488bebbd6ebdc290c1f057abc75cad415efc85..eb96b0c30cdf987fd61b808832de6de6012d45b9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp
@@ -59,7 +59,7 @@ TEST_F(LayoutThemeTest, ChangeFocusRingColor) {
Color custom_color = MakeRGB(123, 145, 167);
// Checking unfocused style.
- EXPECT_EQ(kBorderStyleNone, OutlineStyle(span));
+ EXPECT_EQ(EBorderStyle::kNone, OutlineStyle(span));
EXPECT_NE(custom_color, OutlineColor(span));
// Do focus.
@@ -69,7 +69,7 @@ TEST_F(LayoutThemeTest, ChangeFocusRingColor) {
GetDocument().View()->UpdateAllLifecyclePhases();
// Checking focused style.
- EXPECT_NE(kBorderStyleNone, OutlineStyle(span));
+ EXPECT_NE(EBorderStyle::kNone, OutlineStyle(span));
EXPECT_NE(custom_color, OutlineColor(span));
// Change focus ring color.
@@ -78,7 +78,7 @@ TEST_F(LayoutThemeTest, ChangeFocusRingColor) {
GetDocument().View()->UpdateAllLifecyclePhases();
// Check that the focus ring color is updated.
- EXPECT_NE(kBorderStyleNone, OutlineStyle(span));
+ EXPECT_NE(EBorderStyle::kNone, OutlineStyle(span));
EXPECT_EQ(custom_color, OutlineColor(span));
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.mm ('k') | third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698