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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ShapeResultBuffer_h 5 #ifndef ShapeResultBuffer_h
6 #define ShapeResultBuffer_h 6 #define ShapeResultBuffer_h
7 7
8 #include "platform/fonts/shaping/ShapeResult.h" 8 #include "platform/fonts/shaping/ShapeResult.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const GlyphData*, 65 const GlyphData*,
66 float initialAdvance, 66 float initialAdvance,
67 unsigned from, 67 unsigned from,
68 unsigned to, 68 unsigned to,
69 unsigned runOffset); 69 unsigned runOffset);
70 70
71 static void addRunInfoRanges(const ShapeResult::RunInfo&, 71 static void addRunInfoRanges(const ShapeResult::RunInfo&,
72 float offset, 72 float offset,
73 Vector<CharacterRange>&); 73 Vector<CharacterRange>&);
74 74
75 // Empirically, cases where we get more than 50 ShapeResults are extremely rar e. 75 // Empirically, cases where we get more than 50 ShapeResults are extremely
76 // rare.
76 Vector<RefPtr<const ShapeResult>, 64> m_results; 77 Vector<RefPtr<const ShapeResult>, 64> m_results;
77 bool m_hasVerticalOffsets; 78 bool m_hasVerticalOffsets;
78 }; 79 };
79 80
80 } // namespace blink 81 } // namespace blink
81 82
82 #endif // ShapeResultBuffer_h 83 #endif // ShapeResultBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698