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

Unified Diff: third_party/WebKit/Source/platform/text/TextStream.cpp

Issue 2385283002: reflow comments in platform/{testing,text} (Closed)
Patch Set: idunnolol 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/platform/text/TextStream.cpp
diff --git a/third_party/WebKit/Source/platform/text/TextStream.cpp b/third_party/WebKit/Source/platform/text/TextStream.cpp
index 77c16b8cf7937034b387a575a21219a9c5913026..755dcc6096b195f2fc1c24dcde55a4da90cf83e2 100644
--- a/third_party/WebKit/Source/platform/text/TextStream.cpp
+++ b/third_party/WebKit/Source/platform/text/TextStream.cpp
@@ -40,11 +40,13 @@
namespace blink {
-static const size_t printBufferSize =
- 100; // large enough for any integer or floating point value in string format, including trailing null character
+// large enough for any integer or floating point value in string format,
+// including trailing null character
+static const size_t printBufferSize = 100;
static inline bool hasFractions(double val) {
- // We use 0.011 to more than match the number of significant digits we print out when dumping the render tree.
+ // We use 0.011 to more than match the number of significant digits we print
+ // out when dumping the render tree.
static const double s_epsilon = 0.011;
int ival = static_cast<int>(round(val));
double dval = static_cast<double>(ival);
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextRun.h ('k') | third_party/WebKit/Source/platform/text/UnicodeRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698