Changeset 224040 in webkit
- Timestamp:
- Oct 26, 2017 1:13:47 PM (7 years ago)
- Location:
- trunk/Source/WebKitLegacy/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKitLegacy/mac/ChangeLog
r223981 r224040 1 2017-10-26 Simon Fraser <simon.fraser@apple.com> 2 3 Fix issues with WebView subframe painting 4 https://bugs.webkit.org/show_bug.cgi?id=178842 5 rdar://problem/34072253 6 7 Reviewed by Daniel Bates. 8 9 WebHTMLView overrides some NSView internal methods to make sure that AppKit doesn't paint 10 subframes (WebKit controls subframe painting). The method signature of one of these changed in macOS 11 High Sierra, so match the new signature. 12 13 Also rename the 'rect' param to 'displayRect' to match AppKit code. 14 15 * WebView/WebHTMLView.mm: 16 (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]): 17 (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]): Deleted. 18 1 19 2017-10-25 Youenn Fablet <youenn@apple.com> 2 20 -
trunk/Source/WebKitLegacy/mac/WebView/WebHTMLView.mm
r223047 r224040 714 714 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 715 715 - (void)_recursive:(BOOL)recurse displayRectIgnoringOpacity:(NSRect)displayRect inContext:(NSGraphicsContext *)context shouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor; 716 - (void)_recursive:(BOOL)recurseX displayRectIgnoringOpacity:(NSRect)displayRect inGraphicsContext:(NSGraphicsContext *)graphicsContext CGContext:(CGContextRef)ctxshouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor;716 - (void)_recursive:(BOOL)recurseX displayRectIgnoringOpacity:(NSRect)displayRect inGraphicsContext:(NSGraphicsContext *)graphicsContext shouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor; 717 717 #else 718 718 - (void)_recursive:(BOOL)recurse displayRectIgnoringOpacity:(NSRect)displayRect inContext:(NSGraphicsContext *)context topView:(BOOL)topView; … … 1703 1703 // Don't let AppKit even draw subviews. We take care of that. 1704 1704 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 1705 - (void)_recursive:(BOOL)recurseX displayRectIgnoringOpacity:(NSRect)displayRect inGraphicsContext:(NSGraphicsContext *)graphicsContext CGContext:(CGContextRef)ctxshouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor1705 - (void)_recursive:(BOOL)recurseX displayRectIgnoringOpacity:(NSRect)displayRect inGraphicsContext:(NSGraphicsContext *)graphicsContext shouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor 1706 1706 #else 1707 1707 - (void)_recursive:(BOOL)recurseX displayRectIgnoringOpacity:(NSRect)displayRect inGraphicsContext:(NSGraphicsContext *)graphicsContext CGContext:(CGContextRef)ctx topView:(BOOL)isTopView shouldChangeFontReferenceColor:(BOOL)shouldChangeFontReferenceColor … … 1716 1716 1717 1717 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 1718 [super _recursive:recurseX displayRectIgnoringOpacity:displayRect inGraphicsContext:graphicsContext CGContext:ctxshouldChangeFontReferenceColor:shouldChangeFontReferenceColor];1718 [super _recursive:recurseX displayRectIgnoringOpacity:displayRect inGraphicsContext:graphicsContext shouldChangeFontReferenceColor:shouldChangeFontReferenceColor]; 1719 1719 #else 1720 1720 [super _recursive:recurseX displayRectIgnoringOpacity:displayRect inGraphicsContext:graphicsContext CGContext:ctx topView:isTopView shouldChangeFontReferenceColor:shouldChangeFontReferenceColor];
Note: See TracChangeset
for help on using the changeset viewer.