Changeset 110481 in webkit
- Timestamp:
- Mar 12, 2012 2:36:10 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r110480 r110481 1 2012-03-12 George Staikos <staikos@webkit.org> 2 3 It doesn't make sense to return const unsigned, and GCC warns about it. 4 Remove const. 5 https://bugs.webkit.org/show_bug.cgi?id=80790 6 7 Reviewed by Antonio Gomes. 8 9 * platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.h: 10 (WebCore::ComplexTextController::length): 11 (WebCore::ComplexTextController::numCodePoints): 12 (WebCore::ComplexTextController::offsetX): 13 1 14 2012-03-12 Beth Dakin <bdakin@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.h
r108733 r110481 84 84 85 85 // Return the length of the array returned by |glyphs| 86 constunsigned length() const { return m_item.num_glyphs; }86 unsigned length() const { return m_item.num_glyphs; } 87 87 88 88 // Return the offset for each of the glyphs. Note that this is translated … … 92 92 93 93 // return the number of code points in the current script run 94 constunsigned numCodePoints() const { return m_item.item.length; }94 unsigned numCodePoints() const { return m_item.item.length; } 95 95 96 96 // Return the current pixel position of the controller. 97 constunsigned offsetX() const { return m_offsetX; }97 unsigned offsetX() const { return m_offsetX; } 98 98 99 99 const FontPlatformData* fontPlatformDataForScriptRun() { return reinterpret_cast<FontPlatformData*>(m_item.font->userData); }
Note: See TracChangeset
for help on using the changeset viewer.