| Index: sync/internal_api/events/commit_response_event.cc
|
| diff --git a/sync/internal_api/events/commit_response_event.cc b/sync/internal_api/events/commit_response_event.cc
|
| index c263e944adb3fbd24c3187a35c9d9e138230682e..05d244ea7b16d9460bbc8fc3b7435f03da6e09a5 100644
|
| --- a/sync/internal_api/events/commit_response_event.cc
|
| +++ b/sync/internal_api/events/commit_response_event.cc
|
| @@ -31,17 +31,15 @@ std::string CommitResponseEvent::GetDetails() const {
|
| return base::StringPrintf("Result: %s", GetSyncerErrorString(result_));
|
| }
|
|
|
| -scoped_ptr<base::DictionaryValue> CommitResponseEvent::GetProtoMessage() const {
|
| - return scoped_ptr<base::DictionaryValue>(
|
| +std::unique_ptr<base::DictionaryValue> CommitResponseEvent::GetProtoMessage()
|
| + const {
|
| + return std::unique_ptr<base::DictionaryValue>(
|
| ClientToServerResponseToValue(response_, false));
|
| }
|
|
|
| -scoped_ptr<ProtocolEvent> CommitResponseEvent::Clone() const {
|
| - return scoped_ptr<ProtocolEvent>(
|
| - new CommitResponseEvent(
|
| - timestamp_,
|
| - result_,
|
| - response_));
|
| +std::unique_ptr<ProtocolEvent> CommitResponseEvent::Clone() const {
|
| + return std::unique_ptr<ProtocolEvent>(
|
| + new CommitResponseEvent(timestamp_, result_, response_));
|
| }
|
|
|
| } // namespace syncer
|
|
|