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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: comments 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/fonts/shaping/ShapeCache.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
index 8d0d5eb97134540cb50a5fafbeb36c387ece3116..6931cd2c082d7af9bb99c7105cb936d9c74712f3 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
@@ -53,7 +53,8 @@ class ShapeCache {
WTF_MAKE_NONCOPYABLE(ShapeCache);
private:
- // Used to optimize small strings as hash table keys. Avoids malloc'ing an out-of-line StringImpl.
+ // Used to optimize small strings as hash table keys. Avoids malloc'ing an
+ // out-of-line StringImpl.
class SmallStringKey {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -124,8 +125,9 @@ class ShapeCache {
static bool equal(const SmallStringKey& a, const SmallStringKey& b) {
return a == b;
}
- static const bool safeToCompareToEmptyOrDeleted =
- true; // Empty and deleted values have lengths that are not equal to any valid length.
+ // Empty and deleted values have lengths that are not equal to any valid
+ // length.
+ static const bool safeToCompareToEmptyOrDeleted = true;
};
struct SmallStringKeyHashTraits : WTF::SimpleClassHashTraits<SmallStringKey> {

Powered by Google App Engine
This is Rietveld 408576698