Changeset 189986 in webkit
- Timestamp:
- Sep 18, 2015, 2:37:17 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r189971 r189986 1 2015-09-18 Beth Dakin <bdakin@apple.com> 2 3 Snapshots broken on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=149354 5 6 Reviewed by Tim Horton. 7 8 We need to send the IOSurface to ViewSnapshot::create() for this to work. 9 * UIProcess/API/Cocoa/WKWebView.mm: 10 (-[WKWebView _takeViewSnapshot]): 11 1 12 2015-09-18 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r189773 r189986 1113 1113 CARenderServerRenderLayerWithTransform(MACH_PORT_NULL, self.layer.context.contextId, reinterpret_cast<uint64_t>(self.layer), surface->surface(), 0, 0, &transform); 1114 1114 1115 return WebKit::ViewSnapshot::create( nullptr);1115 return WebKit::ViewSnapshot::create(WTF::move(surface)); 1116 1116 #else 1117 1117 uint32_t slotID = [WebKit::ViewSnapshotStore::snapshottingContext() createImageSlot:snapshotSize hasAlpha:YES];
Note:
See TracChangeset
for help on using the changeset viewer.