Changeset 210247 in webkit
- Timestamp:
- Jan 3, 2017 12:53:22 PM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r210245 r210247 1 2017-01-03 Daniel Bates <dabates@apple.com> 2 3 Another attempt to fix the Apple Sierra Release 32-bit Build following <https://trac.webkit.org/changeset/210075> 4 (https://bugs.webkit.org/show_bug.cgi?id=166367) 5 6 Guard more code in WebViewImpl::handleRequestedCandidates() inside HAVE(TOUCH_BAR). 7 Remove unused local variable weakThis. 8 9 * UIProcess/Cocoa/WebViewImpl.mm: 10 (WebKit::WebViewImpl::handleRequestedCandidates): 11 1 12 2017-01-03 Daniel Bates <dabates@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm
r210245 r210247 2984 2984 return; 2985 2985 2986 #if HAVE(TOUCH_BAR) 2986 2987 NSRange selectedRange = NSMakeRange(postLayoutData.candidateRequestStartPosition, postLayoutData.selectedTextLength); 2987 auto weakThis = createWeakPtr();2988 2988 WebCore::IntRect offsetSelectionRect = postLayoutData.selectionClipRect; 2989 2989 offsetSelectionRect.move(0, offsetSelectionRect.height()); 2990 2990 2991 #if HAVE(TOUCH_BAR)2992 2991 [candidateListTouchBarItem() setCandidates:candidates forSelectedRange:selectedRange inString:postLayoutData.paragraphContextForCandidateRequest rect:offsetSelectionRect view:m_view completionHandler:nil]; 2992 #else 2993 UNUSED_PARAM(candidates); 2993 2994 #endif 2994 2995 }
Note: See TracChangeset
for help on using the changeset viewer.