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

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: Updated change after Doug's review. Created 5 years, 10 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698