| Index: Source/web/WebFormControlElement.cpp
|
| diff --git a/Source/web/WebFormControlElement.cpp b/Source/web/WebFormControlElement.cpp
|
| index d8d314dfc5276f3e71b023354e8f09e460d4a864..c5296b8540f72399ae4a49dd8a597947ad6c2ef4 100644
|
| --- a/Source/web/WebFormControlElement.cpp
|
| +++ b/Source/web/WebFormControlElement.cpp
|
| @@ -165,7 +165,7 @@ int WebFormControlElement::selectionEnd() const
|
|
|
| WebString WebFormControlElement::directionForFormData() const
|
| {
|
| - if (LayoutStyle* style = constUnwrap<HTMLFormControlElement>()->layoutStyle())
|
| + if (const LayoutStyle* style = constUnwrap<HTMLFormControlElement>()->layoutStyle())
|
| return style->isLeftToRightDirection() ? WebString::fromUTF8("ltr") : WebString::fromUTF8("rtl");
|
| return WebString::fromUTF8("ltr");
|
| }
|
|
|