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

Unified Diff: third_party/WebKit/Source/core/html/forms/FormController.cpp

Issue 2390563002: Reflow comments in core/html/forms/. (Closed)
Patch Set: 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/forms/FormController.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
index 808665eb9100a7d81231fa0a0a7537974eeb4c39..0745c47b6a6ac3191909428ef6b55d71f00e0ed2 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -92,7 +92,8 @@ class FormElementKey {
StringImpl* name() const { return m_name; }
StringImpl* type() const { return m_type; }
- // Hash table deleted values, which are only constructed and never copied or destroyed.
+ // Hash table deleted values, which are only constructed and never copied or
+ // destroyed.
FormElementKey(WTF::HashTableDeletedValueType)
: m_name(hashTableDeletedValue()) {}
bool isHashTableDeletedValue() const {
@@ -521,9 +522,10 @@ void FormController::willDeleteForm(HTMLFormElement* form) {
void FormController::restoreControlStateFor(
HTMLFormControlElementWithState& control) {
- // We don't save state of a control with shouldSaveAndRestoreFormControlState()
- // == false. But we need to skip restoring process too because a control in
- // another form might have the same pair of name and type and saved its state.
+ // We don't save state of a control with
+ // shouldSaveAndRestoreFormControlState() == false. But we need to skip
+ // restoring process too because a control in another form might have the same
+ // pair of name and type and saved its state.
if (!control.shouldSaveAndRestoreFormControlState())
return;
if (ownerFormForState(control))

Powered by Google App Engine
This is Rietveld 408576698