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

Unified Diff: third_party/WebKit/Source/platform/Length.h

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/LayoutUnit.h ('k') | third_party/WebKit/Source/platform/Length.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Length.h
diff --git a/third_party/WebKit/Source/platform/Length.h b/third_party/WebKit/Source/platform/Length.h
index 444a507d291a5e17b5b04c3fdb0f1b66352499a4..e170642da04838abe7a9af02eb25194738d2693b 100644
--- a/third_party/WebKit/Source/platform/Length.h
+++ b/third_party/WebKit/Source/platform/Length.h
@@ -138,7 +138,8 @@ class PLATFORM_EXPORT Length {
return *this;
}
- // FIXME: Make this private (if possible) or at least rename it (http://crbug.com/432707).
+ // FIXME: Make this private (if possible) or at least rename it
+ // (http://crbug.com/432707).
inline float value() const {
ASSERT(!isCalculated());
return getFloatValue();
@@ -201,10 +202,10 @@ class PLATFORM_EXPORT Length {
bool isMaxSizeNone() const { return type() == MaxSizeNone; }
- // FIXME calc: https://bugs.webkit.org/show_bug.cgi?id=80357. A calculated Length
- // always contains a percentage, and without a maxValue passed to these functions
- // it's impossible to determine the sign or zero-ness. We assume all calc values
- // are positive and non-zero for now.
+ // FIXME calc: https://bugs.webkit.org/show_bug.cgi?id=80357. A calculated
+ // Length always contains a percentage, and without a maxValue passed to these
+ // functions it's impossible to determine the sign or zero-ness. We assume all
+ // calc values are positive and non-zero for now.
bool isZero() const {
ASSERT(!isMaxSizeNone());
if (isCalculated())
« no previous file with comments | « third_party/WebKit/Source/platform/LayoutUnit.h ('k') | third_party/WebKit/Source/platform/Length.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698