Changeset 210247 in webkit


Ignore:
Timestamp:
Jan 3, 2017 12:53:22 PM (7 years ago)
Author:
dbates@webkit.org
Message:

Another attempt to fix the Apple Sierra Release 32-bit Build following <https://trac.webkit.org/changeset/210075>
(https://bugs.webkit.org/show_bug.cgi?id=166367)

Guard more code in WebViewImpl::handleRequestedCandidates() inside HAVE(TOUCH_BAR).
Remove unused local variable weakThis.

  • UIProcess/Cocoa/WebViewImpl.mm:

(WebKit::WebViewImpl::handleRequestedCandidates):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r210245 r210247  
     12017-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
    1122017-01-03  Daniel Bates  <dabates@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm

    r210245 r210247  
    29842984        return;
    29852985
     2986#if HAVE(TOUCH_BAR)
    29862987    NSRange selectedRange = NSMakeRange(postLayoutData.candidateRequestStartPosition, postLayoutData.selectedTextLength);
    2987     auto weakThis = createWeakPtr();
    29882988    WebCore::IntRect offsetSelectionRect = postLayoutData.selectionClipRect;
    29892989    offsetSelectionRect.move(0, offsetSelectionRect.height());
    29902990
    2991 #if HAVE(TOUCH_BAR)
    29922991    [candidateListTouchBarItem() setCandidates:candidates forSelectedRange:selectedRange inString:postLayoutData.paragraphContextForCandidateRequest rect:offsetSelectionRect view:m_view completionHandler:nil];
     2992#else
     2993    UNUSED_PARAM(candidates);
    29932994#endif
    29942995}
Note: See TracChangeset for help on using the changeset viewer.