Index: Source/core/html/HTMLFormControlElementTest.cpp |
diff --git a/Source/core/html/HTMLFormControlElementTest.cpp b/Source/core/html/HTMLFormControlElementTest.cpp |
index 178d433391b95869c17e70d60e46f21c87d68b68..7824013a4fec7b172cdced1fca964e149fc000ef 100644 |
--- a/Source/core/html/HTMLFormControlElementTest.cpp |
+++ b/Source/core/html/HTMLFormControlElementTest.cpp |
@@ -56,7 +56,7 @@ TEST_F(HTMLFormControlElementTest, customValidationMessageTextDirection) |
EXPECT_EQ(RTL, messageDir); |
EXPECT_EQ(LTR, subMessageDir); |
- input->renderer()->style()->setDirection(RTL); |
+ input->renderer()->mutableStyle()->setDirection(RTL); |
input->findCustomValidationMessageTextDirection(message, messageDir, subMessage, subMessageDir); |
EXPECT_EQ(RTL, messageDir); |
EXPECT_EQ(RTL, subMessageDir); |