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

Unified Diff: third_party/WebKit/Source/platform/text/Character.h

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/Character.h
diff --git a/third_party/WebKit/Source/platform/text/Character.h b/third_party/WebKit/Source/platform/text/Character.h
index f953a32542df6fd18821efd54a13c1bece58849f..73fabb91aa5d076b551c264e87ba6f022c2898f9 100644
--- a/third_party/WebKit/Source/platform/text/Character.h
+++ b/third_party/WebKit/Source/platform/text/Character.h
@@ -158,12 +158,16 @@ class PLATFORM_EXPORT Character {
}
static inline bool isNormalizedCanvasSpaceCharacter(UChar32 c) {
- // According to specification all space characters should be replaced with 0x0020 space character.
+ // According to specification all space characters should be replaced with
+ // 0x0020 space character.
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#text-preparation-algorithm
- // The space characters according to specification are : U+0020, U+0009, U+000A, U+000C, and U+000D.
+ // The space characters according to specification are : U+0020, U+0009,
+ // U+000A, U+000C, and U+000D.
// http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character
- // This function returns true for 0x000B also, so that this is backward compatible.
- // Otherwise, the test LayoutTests/canvas/philip/tests/2d.text.draw.space.collapse.space.html will fail
+ // This function returns true for 0x000B also, so that this is backward
+ // compatible. Otherwise, the test
+ // LayoutTests/canvas/philip/tests/2d.text.draw.space.collapse.space.html
+ // will fail
return c == 0x0009 || (c >= 0x000A && c <= 0x000D);
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/BidiTestHarness.h ('k') | third_party/WebKit/Source/platform/text/Character.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698