• shrike's avatar
    Finished swap out of old API · f14f8f0e
    shrike authored
    Replaced occurrences of [HyperlinkTextView setMessageAndLink:withLink:
    atOffset:font:messageColor:linkColor:] with
    [HyperLinkTextView setMessage:withFont:messageColor] and
    [HyperLinkTextView addLinkRange:withName:linkColor:]. Removed the
    [HyperLinkTextView setMessageAndLink:withLink:...] method.
    
    BUG=253755
    
    TEST=it's very difficult to produce test sequences for most of these changes.
    Here is the one sequence I do have:
    
    for sad_tab_view_cocoa.mm: Launch Chrome, run
        ps augx | grep “Chrome Helper”
    in a Terminal window, create a new tab and go to some page, run the ps...
    commands again and figure out the process number of the new Chrome
    Helper (the one that wasn’t there before). In a Terminal window type kill -9
    <XXX> where <XXX> is the process id of the new Chrome Helper. Confirm
    the new tab now shows the sad tab page and that the last line of text reads,
    “If you're seeing this frequently, try these suggestions.” with the word
    “suggestions” as a clickable link that takes you to the “Aw, Snap!” Chrome
    help page.
    
    Review URL: https://codereview.chromium.org/887823002
    
    Cr-Commit-Position: refs/heads/master@{#315054}
    f14f8f0e
hyperlink_text_view.mm 4.2 KB