Changeset 252782 in webkit
- Timestamp:
- Nov 22, 2019 10:41:33 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r252778 r252782 1 2019-11-22 Conrad Shultz <conrad_shultz@apple.com> 2 3 Remove -[_WKThumbnailView usesSnapshot/setUsesSnapshot:] 4 https://bugs.webkit.org/show_bug.cgi?id=150099 5 6 Reviewed by Tim Horton. 7 8 Remove some unused, no-op SPI. While we're here, remove a couple unneeded explicit 9 property syntheses. 10 11 * UIProcess/API/Cocoa/_WKThumbnailView.h: 12 * UIProcess/API/Cocoa/_WKThumbnailView.mm: 13 (-[_WKThumbnailView setUsesSnapshot:]): Deleted. 14 (-[_WKThumbnailView usesSnapshot]): Deleted. 15 1 16 2019-11-22 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.h
r243376 r252782 52 52 @property (strong, nonatomic) NSColor *overrideBackgroundColor; 53 53 54 // This should be removed when all clients go away; it is always YES now.55 @property (nonatomic) BOOL usesSnapshot;56 57 54 - (void)requestSnapshot; 58 55 -
trunk/Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.mm
r250595 r252782 60 60 } 61 61 62 @synthesize snapshotSize=_snapshotSize;63 62 @synthesize _waitingForSnapshot=_waitingForSnapshot; 64 @synthesize exclusivelyUsesSnapshot=_exclusivelyUsesSnapshot;65 @synthesize shouldKeepSnapshotWhenRemovedFromSuperview=_shouldKeepSnapshotWhenRemovedFromSuperview;66 63 67 64 - (instancetype)initWithFrame:(NSRect)frame … … 267 264 } 268 265 269 // This should be removed when all clients go away; it is always YES now.270 - (void)setUsesSnapshot:(BOOL)usesSnapshot271 {272 }273 274 - (BOOL)usesSnapshot275 {276 return YES;277 }278 279 266 - (void)_setThumbnailLayer:(CALayer *)layer 280 267 {
Note: See TracChangeset
for help on using the changeset viewer.