diff --git a/brightray/browser/inspectable_web_contents_view_mac.h b/brightray/browser/inspectable_web_contents_view_mac.h index a03ccaf636..1b5a6e4332 100644 --- a/brightray/browser/inspectable_web_contents_view_mac.h +++ b/brightray/browser/inspectable_web_contents_view_mac.h @@ -3,7 +3,7 @@ #import "browser/inspectable_web_contents_view.h" -#import "base/memory/scoped_nsobject.h" +#import "base/mac/scoped_nsobject.h" @class BRYInspectableWebContentsView; @@ -26,7 +26,7 @@ private: // Owns us. InspectableWebContentsImpl* inspectable_web_contents_; - scoped_nsobject view_; + base::scoped_nsobject view_; DISALLOW_COPY_AND_ASSIGN(InspectableWebContentsViewMac); }; diff --git a/brightray/browser/notification_presenter_mac.h b/brightray/browser/notification_presenter_mac.h index 5cd2c87e40..b3757bf56e 100644 --- a/brightray/browser/notification_presenter_mac.h +++ b/brightray/browser/notification_presenter_mac.h @@ -8,7 +8,7 @@ #import "browser/notification_presenter.h" -#import "base/memory/scoped_nsobject.h" +#import "base/mac/scoped_nsobject.h" #import @class BRYUserNotificationCenterDelegate; @@ -30,8 +30,8 @@ class NotificationPresenterMac : public NotificationPresenter { int notification_id) OVERRIDE; private: - std::map> notification_map_; - scoped_nsobject delegate_; + std::map> notification_map_; + base::scoped_nsobject delegate_; }; } diff --git a/brightray/browser/notification_presenter_mac.mm b/brightray/browser/notification_presenter_mac.mm index 416e455503..dc2ad9231f 100644 --- a/brightray/browser/notification_presenter_mac.mm +++ b/brightray/browser/notification_presenter_mac.mm @@ -56,7 +56,7 @@ struct NotificationID { int notification_id; }; -scoped_nsobject CreateUserNotification( +base::scoped_nsobject CreateUserNotification( const content::ShowDesktopNotificationHostMsgParams& params, int render_process_id, int render_view_id) { @@ -65,7 +65,7 @@ scoped_nsobject CreateUserNotification( notification.informativeText = base::SysUTF16ToNSString(params.body); notification.userInfo = NotificationID(render_process_id, render_view_id, params.notification_id).GetUserInfo(); - return scoped_nsobject(notification); + return base::scoped_nsobject(notification); } }