Changeset 256233 in webkit
- Timestamp:
- Feb 10, 2020 5:13:01 PM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r256225 r256233 1 2020-02-10 David Kilzer <ddkilzer@apple.com> 2 3 WebKit::WebProcessPool::initializeClassesForParameterCoding() should keep a copy of CString 4 <https://webkit.org/b/207519> 5 <rdar://problem/59043436> 6 7 Reviewed by Brent Fulgham. 8 9 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 10 (WebKit::WebProcessPool::initializeClassesForParameterCoding): 11 - Change `className` to keep a copy of the CString object. 12 1 13 2020-02-10 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r256225 r256233 713 713 714 714 for (const auto& customClass : customClasses) { 715 const auto* className = customClass.utf8().data();716 Class objectClass = objc_lookUpClass(className );715 auto className = customClass.utf8(); 716 Class objectClass = objc_lookUpClass(className.data()); 717 717 if (!objectClass) { 718 WTFLogAlways("InjectedBundle::extendClassesForParameterCoder - Class %s is not a valid Objective C class.\n", className );718 WTFLogAlways("InjectedBundle::extendClassesForParameterCoder - Class %s is not a valid Objective C class.\n", className.data()); 719 719 break; 720 720 }
Note: See TracChangeset
for help on using the changeset viewer.