Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4381)

Unified Diff: chrome/browser/sync/engine/build_commit_command.cc

Issue 9460047: sync: remove use of protobuf extensions in protocol to reduce static init overhead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fred's review Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/engine/build_commit_command.cc
diff --git a/chrome/browser/sync/engine/build_commit_command.cc b/chrome/browser/sync/engine/build_commit_command.cc
index 4655827ec31229c8137ac2d4afb5ba2080a1638f..06adac6271b767168998d6d27d5cfd7053d5007f 100644
--- a/chrome/browser/sync/engine/build_commit_command.cc
+++ b/chrome/browser/sync/engine/build_commit_command.cc
@@ -179,7 +179,7 @@ SyncerError BuildCommitCommand::ExecuteImpl(SyncSession* session) {
if (meta_entry.Get(IS_DEL)) {
sync_entry->set_deleted(true);
} else {
- if (meta_entry.Get(SPECIFICS).HasExtension(sync_pb::bookmark)) {
+ if (meta_entry.Get(SPECIFICS).has_bookmark()) {
// Common data in both new and old protocol.
const Id& prev_id = meta_entry.Get(syncable::PREV_ID);
string prev_id_string =

Powered by Google App Engine
This is Rietveld 408576698