Pass() is deprecated for std::move
This commit is contained in:
parent
948e7c4055
commit
baf5f384cd
14 changed files with 52 additions and 48 deletions
|
@ -8,7 +8,7 @@ namespace brightray {
|
|||
|
||||
NotificationDelegateAdapter::NotificationDelegateAdapter(
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate)
|
||||
: delegate_(delegate.Pass()) {
|
||||
: delegate_(std::move(delegate)) {
|
||||
}
|
||||
|
||||
NotificationDelegateAdapter::~NotificationDelegateAdapter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue