Changeset 258565 in webkit
- Timestamp:
- Mar 17, 2020 11:33:58 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r258559 r258565 1 2020-03-17 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r258334): WebPasteboardProxy::setPasteboardBufferForType should allow zero-size buffers 4 <https://webkit.org/b/209167> 5 <rdar://problem/60516302> 6 7 Reviewed by Geoffrey Garen. 8 9 * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm: 10 (WebKit::WebPasteboardProxy::setPasteboardBufferForType): 11 - Remove check for zero-size buffer to match 12 WebPageProxy::dataSelectionForPasteboard(). 13 1 14 2020-03-17 Brent Fulgham <bfulgham@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm
r258334 r258565 185 185 186 186 // SharedMemory::Handle::size() is rounded up to the nearest page. 187 MESSAGE_CHECK(size && size<= handle.size(), completionHandler(0));187 MESSAGE_CHECK(size <= handle.size(), completionHandler(0)); 188 188 189 189 RefPtr<SharedMemory> sharedMemoryBuffer = SharedMemory::map(handle, SharedMemory::Protection::ReadOnly);
Note: See TracChangeset
for help on using the changeset viewer.