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

Unified Diff: third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.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/MultipleFieldsTemporalInputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
index 7ba8d19438d8e48ccacb6354f9d0788b639362c0..f62af1911639f67f87f481ae4d1d26f0a5b014e3 100644
--- a/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp
@@ -189,7 +189,8 @@ void MultipleFieldsTemporalInputTypeView::didFocusOnControl() {
void MultipleFieldsTemporalInputTypeView::editControlValueChanged() {
String oldValue = element().value();
String newValue = m_inputType->sanitizeValue(dateTimeEditElement()->value());
- // Even if oldValue is null and newValue is "", we should assume they are same.
+ // Even if oldValue is null and newValue is "", we should assume they are
+ // same.
if ((oldValue.isEmpty() && newValue.isEmpty()) || oldValue == newValue) {
element().setNeedsValidityCheck();
} else {
@@ -350,8 +351,8 @@ void MultipleFieldsTemporalInputTypeView::createShadowSubtree() {
DCHECK(element().shadow());
// Element must not have a layoutObject here, because if it did
- // DateTimeEditElement::customStyleForLayoutObject() is called in appendChild()
- // before the field wrapper element is created.
+ // DateTimeEditElement::customStyleForLayoutObject() is called in
+ // appendChild() before the field wrapper element is created.
// FIXME: This code should not depend on such craziness.
DCHECK(!element().layoutObject());

Powered by Google App Engine
This is Rietveld 408576698