| Index: sync/internal_api/protocol_event_buffer.cc
|
| diff --git a/sync/internal_api/protocol_event_buffer.cc b/sync/internal_api/protocol_event_buffer.cc
|
| index 2e9ba64407b44ea4a8b1b08b5ec485f447d0263b..3d76bd97b1c41a22868c7f44b94a662378885384 100644
|
| --- a/sync/internal_api/protocol_event_buffer.cc
|
| +++ b/sync/internal_api/protocol_event_buffer.cc
|
| @@ -29,7 +29,7 @@ ProtocolEventBuffer::GetBufferedProtocolEvents() const {
|
| ScopedVector<ProtocolEvent> ret;
|
| for (std::deque<ProtocolEvent*>::const_iterator it = buffer_.begin();
|
| it != buffer_.end(); ++it) {
|
| - ret.push_back((*it)->Clone().release());
|
| + ret.push_back((*it)->Clone().Pass());
|
| }
|
| return ret.Pass();
|
| }
|
|
|