Changeset 172257 in webkit
- Timestamp:
- Aug 7, 2014, 2:01:20 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r172244 r172257 1 2014-08-07 Eric Carlson <eric.carlson@apple.com> 2 3 Create UTF-8 string from in-band VTT cues 4 https://bugs.webkit.org/show_bug.cgi?id=135716 5 6 Reviewed by Brent Fulgham. 7 8 Tests will be added in https://bugs.webkit.org/show_bug.cgi?id=135717. 9 10 * platform/graphics/ISOVTTCue.cpp: 11 (WebCore::ISOBox::peekString): Call String::fromUTF8 because we know that VTT is always 12 UTF-8. 13 1 14 2014-08-06 Jeremy Jones <jeremyj@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/ISOVTTCue.cpp
r170379 r172257 76 76 return emptyString(); 77 77 78 return String (JSC::Uint8Array::create(data, offset, length)->data(), length);78 return String::fromUTF8(JSC::Uint8Array::create(data, offset, length)->data(), length); 79 79 } 80 80
Note:
See TracChangeset
for help on using the changeset viewer.