| Index: sync/internal_api/events/get_updates_response_event.cc
|
| diff --git a/sync/internal_api/events/get_updates_response_event.cc b/sync/internal_api/events/get_updates_response_event.cc
|
| index 50bc551900fb953c4fdd274cd2dc3533f98bbd99..9fa4989c20c7f1372ab12bd8dcd3338f406c41a4 100644
|
| --- a/sync/internal_api/events/get_updates_response_event.cc
|
| +++ b/sync/internal_api/events/get_updates_response_event.cc
|
| @@ -42,18 +42,15 @@ std::string GetUpdatesResponseEvent::GetDetails() const {
|
| }
|
| }
|
|
|
| -scoped_ptr<base::DictionaryValue>
|
| +std::unique_ptr<base::DictionaryValue>
|
| GetUpdatesResponseEvent::GetProtoMessage() const {
|
| - return scoped_ptr<base::DictionaryValue>(
|
| + return std::unique_ptr<base::DictionaryValue>(
|
| ClientToServerResponseToValue(response_, false));
|
| }
|
|
|
| -scoped_ptr<ProtocolEvent> GetUpdatesResponseEvent::Clone() const {
|
| - return scoped_ptr<ProtocolEvent>(
|
| - new GetUpdatesResponseEvent(
|
| - timestamp_,
|
| - response_,
|
| - error_));
|
| +std::unique_ptr<ProtocolEvent> GetUpdatesResponseEvent::Clone() const {
|
| + return std::unique_ptr<ProtocolEvent>(
|
| + new GetUpdatesResponseEvent(timestamp_, response_, error_));
|
| }
|
|
|
| } // namespace syncer
|
|
|