Index: Source/core/html/HTMLFormControlElementTest.cpp |
diff --git a/Source/core/html/HTMLFormControlElementTest.cpp b/Source/core/html/HTMLFormControlElementTest.cpp |
index 8fd82baf57eafc68257402bf6b1b865f88e92d42..526dae52429d638ba7926d5b23356776cff3e5c4 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()->deprecatedMutableStyle()->setDirection(RTL); |
input->findCustomValidationMessageTextDirection(message, messageDir, subMessage, subMessageDir); |
EXPECT_EQ(RTL, messageDir); |
EXPECT_EQ(RTL, subMessageDir); |