Changeset 247134 in webkit
- Timestamp:
- Jul 3, 2019 8:39:48 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r247132 r247134 1 2019-07-03 Ryosuke Niwa <rniwa@webkit.org> 2 3 Crash in WebDragClient::startDrag because GraphicsContext is nullptr 4 https://bugs.webkit.org/show_bug.cgi?id=199491 5 6 Reviewed by Wenson Hsieh. 7 8 Added a nullptr check. 9 10 Unfortunately no new tests since we don't have a reproducible test case. 11 12 * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: 13 (WebKit::convertImageToBitmap): 14 1 15 2019-07-03 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebKit/WebProcess/WebCoreSupport/mac/WebDragClientMac.mm
r244955 r247134 70 70 71 71 auto graphicsContext = bitmap->createGraphicsContext(); 72 if (!graphicsContext) 73 return nullptr; 72 74 73 75 RetainPtr<NSGraphicsContext> savedContext = [NSGraphicsContext currentContext];
Note: See TracChangeset
for help on using the changeset viewer.