Changeset 248741 in webkit
- Timestamp:
- Aug 15, 2019 1:21:05 PM (5 years ago)
- Location:
- trunk/Source/WebKitLegacy/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKitLegacy/mac/ChangeLog
r248734 r248741 1 2019-08-15 Tim Horton <timothy_horton@apple.com> 2 3 Yellow Lookup highlight gets stuck over Mail messages 4 https://bugs.webkit.org/show_bug.cgi?id=200778 5 <rdar://problem/53868514> 6 7 Reviewed by Wenson Hsieh. 8 9 * WebView/WebView.mm: 10 (-[WebView _showDictionaryLookupPopup:]): 11 Add a dismissal callback so that when Reveal hides the panel, it also 12 dismisses the yellow indicator. This matches the behavior in modern WebKit. 13 1 14 2019-08-15 Sihui Liu <sihui_liu@apple.com> 2 15 -
trunk/Source/WebKitLegacy/mac/WebView/WebView.mm
r248734 r248741 247 247 #import <wtf/SoftLinking.h> 248 248 #import <wtf/StdLibExtras.h> 249 #import <wtf/WeakObjCPtr.h> 249 250 #import <wtf/WorkQueue.h> 250 251 #import <wtf/spi/darwin/dyldSPI.h> … … 9508 9509 }, [self](FloatRect rectInRootViewCoordinates) { 9509 9510 return [self _convertRectFromRootView:rectInRootViewCoordinates]; 9511 }, [weakSelf = WeakObjCPtr<WebView>(self)]() { 9512 [weakSelf.get() _clearTextIndicatorWithAnimation:TextIndicatorWindowDismissalAnimation::FadeOut]; 9510 9513 }); 9511 9514 }
Note: See TracChangeset
for help on using the changeset viewer.