Index: sync/engine/syncer_proto_util.cc |
diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc |
index bcc0bd47b1a4aad7ed301dfd58c2b5d8ba3714da..62fec65d6d740226a583bd83488e97378dd40fcf 100644 |
--- a/sync/engine/syncer_proto_util.cc |
+++ b/sync/engine/syncer_proto_util.cc |
@@ -398,12 +398,8 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage( |
response->error_code()); |
} |
- // Now set the error into the status so the layers above us could read it. |
- sessions::StatusController* status = session->mutable_status_controller(); |
- status->set_sync_protocol_error(sync_protocol_error); |
- |
// Inform the delegate of the error we got. |
- session->delegate()->OnSyncProtocolError(session->TakeSnapshot()); |
+ session->delegate()->OnSyncProtocolError(sync_protocol_error); |
// Update our state for any other commands we've received. |
if (response->has_client_command()) { |