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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 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: 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();

Powered by Google App Engine
This is Rietveld 408576698