| Index: components/handoff/handoff_manager.mm
|
| diff --git a/components/handoff/handoff_manager.mm b/components/handoff/handoff_manager.mm
|
| index cdcb8f169018fe27e5bf9b36240a32e33c5eaee0..8300210e62d407b5e4cc71ce67f0cf7d6fa91a4a 100644
|
| --- a/components/handoff/handoff_manager.mm
|
| +++ b/components/handoff/handoff_manager.mm
|
| @@ -5,7 +5,7 @@
|
| #include "components/handoff/handoff_manager.h"
|
|
|
| #include "base/logging.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "net/base/mac/url_conversions.h"
|
|
|
| @@ -34,7 +34,6 @@
|
| @end
|
|
|
| @implementation HandoffManager {
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_HandoffManager;
|
| GURL _activeURL;
|
| NSUserActivity* _userActivity;
|
| handoff::Origin _origin;
|
| @@ -53,7 +52,6 @@
|
| - (instancetype)init {
|
| self = [super init];
|
| if (self) {
|
| - _propertyReleaser_HandoffManager.Init(self, [HandoffManager class]);
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
| _origin = handoff::ORIGIN_MAC;
|
| #elif defined(OS_IOS)
|
| @@ -65,6 +63,11 @@
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| - (void)updateActiveURL:(const GURL&)url {
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
| // Handoff is only available on OSX 10.10+.
|
|
|