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

Unified Diff: third_party/WebKit/Source/platform/DateComponents.cpp

Issue 2388303002: reflow comments in platform/ (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
« no previous file with comments | « third_party/WebKit/Source/platform/DateComponents.h ('k') | third_party/WebKit/Source/platform/Decimal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/DateComponents.cpp
diff --git a/third_party/WebKit/Source/platform/DateComponents.cpp b/third_party/WebKit/Source/platform/DateComponents.cpp
index 1a9863c0c853782e70b95a367a2928ae309a7850..9df13bfd4d1e35d8fbb109a59e2842a2f76c12f8 100644
--- a/third_party/WebKit/Source/platform/DateComponents.cpp
+++ b/third_party/WebKit/Source/platform/DateComponents.cpp
@@ -100,7 +100,8 @@ static unsigned countDigits(const String& src, unsigned start) {
return index - start;
}
-// Very strict integer parser. Do not allow leading or trailing whitespace unlike charactersToIntStrict().
+// Very strict integer parser. Do not allow leading or trailing whitespace
+// unlike charactersToIntStrict().
static bool toInt(const String& src,
unsigned parseStart,
unsigned parseLength,
@@ -176,7 +177,8 @@ static bool withinHTMLDateLimits(int year,
return true;
if (monthDay > maximumDayInMaximumMonth)
return false;
- // (year, month, monthDay) = (maximumYear, maximumMonthInMaximumYear, maximumDayInMaximumMonth)
+ // (year, month, monthDay) =
+ // (maximumYear, maximumMonthInMaximumYear, maximumDayInMaximumMonth)
return !hour && !minute && !second && !millisecond;
}
@@ -283,7 +285,8 @@ bool DateComponents::addMinute(int minute) {
return true;
}
-// Parses a timezone part, and adjust year, month, monthDay, hour, minute, second, millisecond.
+// Parses a timezone part, and adjust year, month, monthDay, hour, minute,
+// second, millisecond.
bool DateComponents::parseTimeZone(const String& src,
unsigned start,
unsigned& end) {
@@ -533,7 +536,8 @@ bool DateComponents::setMillisecondsSinceEpochForDateTime(double ms) {
}
bool DateComponents::setMillisecondsSinceEpochForDateTimeLocal(double ms) {
- // Internal representation of DateTimeLocal is the same as DateTime except m_type.
+ // Internal representation of DateTimeLocal is the same as DateTime except
+ // m_type.
if (!setMillisecondsSinceEpochForDateTime(ms))
return false;
m_type = DateTimeLocal;
« no previous file with comments | « third_party/WebKit/Source/platform/DateComponents.h ('k') | third_party/WebKit/Source/platform/Decimal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698