Index: ui/message_center/message_center_impl.cc |
diff --git a/ui/message_center/message_center_impl.cc b/ui/message_center/message_center_impl.cc |
index af3d31405067bbc798ce48a0c4301e86062305b9..142d9887a5ab9299e53dc7e10fc1e7f1475a820b 100644 |
--- a/ui/message_center/message_center_impl.cc |
+++ b/ui/message_center/message_center_impl.cc |
@@ -251,7 +251,7 @@ void ChangeQueue::EraseNotification(const std::string& id, bool by_user) { |
if (iter == changes_.rend()) { |
scoped_ptr<Change> change(new Change(CHANGE_TYPE_DELETE, id, nullptr)); |
change->set_by_user(by_user); |
- changes_.push_back(change.release()); |
+ changes_.push_back(change.Pass()); |
return; |
} |