Changeset 223896 in webkit
- Timestamp:
- Oct 24, 2017 10:32:11 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r223895 r223896 1 2017-10-24 Antoine Quint <graouts@apple.com> 2 3 RenderThemeCocoa::mediaControlsFormattedStringForDuration may cause a crash due to unhandled Obj-C exception 4 https://bugs.webkit.org/show_bug.cgi?id=178716 5 <rdar://problem/35112900> 6 7 Reviewed by Dean Jackson. 8 9 * rendering/RenderThemeCocoa.mm: 10 (WebCore::RenderThemeCocoa::mediaControlsFormattedStringForDuration): 11 1 12 2017-10-24 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/Source/WebCore/rendering/RenderThemeCocoa.mm
r220506 r223896 47 47 #if ENABLE(VIDEO) 48 48 #include "LocalizedStrings.h" 49 #include <wtf/BlockObjCExceptions.h> 49 50 #endif 50 51 … … 118 119 return WEB_UI_STRING("indefinite time", "accessibility help text for an indefinite media controller time value"); 119 120 121 BEGIN_BLOCK_OBJC_EXCEPTIONS; 120 122 if (!m_durationFormatter) { 121 123 m_durationFormatter = adoptNS([NSDateComponentsFormatter new]); … … 126 128 } 127 129 return [m_durationFormatter.get() stringFromTimeInterval:durationInSeconds]; 130 END_BLOCK_OBJC_EXCEPTIONS; 128 131 #else 129 132 return emptyString();
Note: See TracChangeset
for help on using the changeset viewer.