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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc

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/ng/ng_length_utils_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc
index 97b45550bb270f173ee728eecbab021f3b938d2b..5c2b077015e1439c6383403d0d6e8dd0cdb7a33d 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc
@@ -361,10 +361,10 @@ TEST_F(NGLengthUtilsTest, testBorders) {
style_->SetBorderRightWidth(2);
style_->SetBorderBottomWidth(3);
style_->SetBorderLeftWidth(4);
- style_->SetBorderTopStyle(kBorderStyleSolid);
- style_->SetBorderRightStyle(kBorderStyleSolid);
- style_->SetBorderBottomStyle(kBorderStyleSolid);
- style_->SetBorderLeftStyle(kBorderStyleSolid);
+ style_->SetBorderTopStyle(EBorderStyle::kSolid);
+ style_->SetBorderRightStyle(EBorderStyle::kSolid);
+ style_->SetBorderBottomStyle(EBorderStyle::kSolid);
+ style_->SetBorderLeftStyle(EBorderStyle::kSolid);
style_->SetWritingMode(WritingMode::kVerticalLr);
RefPtr<NGConstraintSpace> constraint_space(

Powered by Google App Engine
This is Rietveld 408576698