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

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

Issue 338037: linux: fix gcc 4.3 issues (for arm) (Closed)
Patch Set: Created 11 years, 2 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/syncer_util.cc
diff --git a/chrome/browser/sync/engine/syncer_util.cc b/chrome/browser/sync/engine/syncer_util.cc
index 8bd4819fb600cbb54763394d6641769d3a8e79b5..8e328387ea6c155c09d04c5e079df1aa22f81859 100644
--- a/chrome/browser/sync/engine/syncer_util.cc
+++ b/chrome/browser/sync/engine/syncer_util.cc
@@ -815,8 +815,8 @@ syncable::Id SyncerUtil::ComputePrevIdFromServerPosition(
// If |candidate| is after |update_entry| according to the server
// ordering, then we're done. ID is the tiebreaker.
if ((candidate.Get(SERVER_POSITION_IN_PARENT) > position_in_parent) ||
- (candidate.Get(SERVER_POSITION_IN_PARENT) == position_in_parent) &&
- (candidate.Get(ID) > update_item->Get(ID))) {
+ ((candidate.Get(SERVER_POSITION_IN_PARENT) == position_in_parent) &&
+ (candidate.Get(ID) > update_item->Get(ID)))) {
return closest_sibling;
}
}

Powered by Google App Engine
This is Rietveld 408576698