Index: sync/engine/entity_tracker.h |
diff --git a/sync/engine/entity_tracker.h b/sync/engine/entity_tracker.h |
index e969ff97146fec5f791d2158e85e1de515186e35..f60af7dcaee79310a794ff7a7abce197c1672cf2 100644 |
--- a/sync/engine/entity_tracker.h |
+++ b/sync/engine/entity_tracker.h |
@@ -34,12 +34,13 @@ class SYNC_EXPORT EntityTracker { |
~EntityTracker(); |
// Initialize a new entity based on an update response. |
- static EntityTracker* FromServerUpdate(const std::string& id_string, |
- const std::string& client_tag_hash, |
- int64 version); |
+ static scoped_ptr<EntityTracker> FromServerUpdate( |
+ const std::string& id_string, |
+ const std::string& client_tag_hash, |
+ int64 version); |
// Initialize a new entity based on a commit request. |
- static EntityTracker* FromCommitRequest( |
+ static scoped_ptr<EntityTracker> FromCommitRequest( |
const std::string& id_string, |
const std::string& client_tag_hash, |
int64 sequence_number, |