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

Unified Diff: Source/core/html/HTMLFormControlElementTest.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 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: 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);

Powered by Google App Engine
This is Rietveld 408576698