From 271a6c3487a14599023a9106329505597638d793 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 30 Aug 2019 10:22:43 +0200 Subject: BASELINE: Update Chromium to 77.0.3865.59 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21 Reviewed-by: Michael BrĂ¼ning --- chromium/components/handoff/handoff_manager.mm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'chromium/components/handoff') diff --git a/chromium/components/handoff/handoff_manager.mm b/chromium/components/handoff/handoff_manager.mm index d01752c7e35..c34d1677556 100644 --- a/chromium/components/handoff/handoff_manager.mm +++ b/chromium/components/handoff/handoff_manager.mm @@ -22,20 +22,19 @@ @interface HandoffManager () // The active user activity. -@property(nonatomic, retain) - NSUserActivity* userActivity API_AVAILABLE(macos(10.10)); +@property(nonatomic, retain) NSUserActivity* userActivity; // Whether the URL of the current tab should be exposed for Handoff. - (BOOL)shouldUseActiveURL; // Updates the active NSUserActivity. -- (void)updateUserActivity API_AVAILABLE(macos(10.10)); +- (void)updateUserActivity; @end @implementation HandoffManager { GURL _activeURL; - NSUserActivity* _userActivity API_AVAILABLE(macos(10.10)); + NSUserActivity* _userActivity; handoff::Origin _origin; } @@ -69,11 +68,6 @@ } - (void)updateActiveURL:(const GURL&)url { -#if defined(OS_MACOSX) && !defined(OS_IOS) - // Handoff is only available on OSX 10.10+. - DCHECK(base::mac::IsAtLeastOS10_10()); -#endif - _activeURL = url; [self updateUserActivity]; } -- cgit v1.2.1