| Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| index 33f9dfeb4bd99c6e8710968f88ec4c547ea96318..1fb8d7106eb84c80f109dff75ac1cf648e37cb17 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
|
| @@ -609,7 +609,8 @@ void HTMLTextFormControlElement::selectionChanged(bool userTriggered) {
|
| if (!layoutObject() || !isTextFormControl())
|
| return;
|
|
|
| - // selectionStart() or selectionEnd() will return cached selection when this node doesn't have focus
|
| + // selectionStart() or selectionEnd() will return cached selection when this
|
| + // node doesn't have focus.
|
| cacheSelection(computeSelectionStart(), computeSelectionEnd(),
|
| computeSelectionDirection());
|
|
|
| @@ -732,8 +733,9 @@ static void getNextSoftBreak(RootInlineBox*& line,
|
| }
|
|
|
| String HTMLTextFormControlElement::valueWithHardLineBreaks() const {
|
| - // FIXME: It's not acceptable to ignore the HardWrap setting when there is no layoutObject.
|
| - // While we have no evidence this has ever been a practical problem, it would be best to fix it some day.
|
| + // FIXME: It's not acceptable to ignore the HardWrap setting when there is no
|
| + // layoutObject. While we have no evidence this has ever been a practical
|
| + // problem, it would be best to fix it some day.
|
| HTMLElement* innerText = innerEditorElement();
|
| if (!innerText || !isTextFormControl())
|
| return value();
|
|
|