Changeset 156879 in webkit
- Timestamp:
- Oct 3, 2013, 9:42:02 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r156876 r156879 1 2013-10-03 Anders Carlsson <andersca@apple.com> 2 3 Assert that we don't try to index past the end of the m_coreTextIndices array 4 https://bugs.webkit.org/show_bug.cgi?id=122308 5 6 Reviewed by Dan Bernstein. 7 8 Because an assertion failure is better than a random crash. 9 10 * platform/graphics/mac/ComplexTextController.cpp: 11 (WebCore::ComplexTextController::ComplexTextRun::indexAt): 12 1 13 2013-10-03 Antti Koivisto <antti@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp
r156613 r156879 387 387 CFIndex ComplexTextController::ComplexTextRun::indexAt(size_t i) const 388 388 { 389 ASSERT(i < m_glyphCount); 390 389 391 return m_coreTextIndices[i]; 390 392 }
Note:
See TracChangeset
for help on using the changeset viewer.