| Index: Source/web/WebFormControlElement.cpp
|
| diff --git a/Source/web/WebFormControlElement.cpp b/Source/web/WebFormControlElement.cpp
|
| index c5296b8540f72399ae4a49dd8a597947ad6c2ef4..c02f22746b3a2a526bd8c456180361cd503ab958 100644
|
| --- a/Source/web/WebFormControlElement.cpp
|
| +++ b/Source/web/WebFormControlElement.cpp
|
| @@ -31,7 +31,7 @@
|
| #include "config.h"
|
| #include "public/web/WebFormControlElement.h"
|
|
|
| -#include "core/dom/NodeLayoutStyle.h"
|
| +#include "core/dom/NodeComputedStyle.h"
|
| #include "core/html/HTMLFormControlElement.h"
|
| #include "core/html/HTMLFormElement.h"
|
| #include "core/html/HTMLInputElement.h"
|
| @@ -165,7 +165,7 @@ int WebFormControlElement::selectionEnd() const
|
|
|
| WebString WebFormControlElement::directionForFormData() const
|
| {
|
| - if (const LayoutStyle* style = constUnwrap<HTMLFormControlElement>()->layoutStyle())
|
| + if (const ComputedStyle* style = constUnwrap<HTMLFormControlElement>()->computedStyle())
|
| return style->isLeftToRightDirection() ? WebString::fromUTF8("ltr") : WebString::fromUTF8("rtl");
|
| return WebString::fromUTF8("ltr");
|
| }
|
|
|