Index: Source/core/html/HTMLFormControlElementTest.cpp |
diff --git a/Source/core/html/HTMLFormControlElementTest.cpp b/Source/core/html/HTMLFormControlElementTest.cpp |
index 178d433391b95869c17e70d60e46f21c87d68b68..bd33e4c27162a02fa17ed563d9554c52b2891bb3 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->layoutObject()->style()->setDirection(RTL); |
input->findCustomValidationMessageTextDirection(message, messageDir, subMessage, subMessageDir); |
EXPECT_EQ(RTL, messageDir); |
EXPECT_EQ(RTL, subMessageDir); |