Index: chrome/browser/sync/glue/synced_tab_delegate.cc |
diff --git a/chrome/browser/sync/glue/synced_tab_delegate.cc b/chrome/browser/sync/glue/synced_tab_delegate.cc |
index 4d51259eb35b355f52eced7faedcb3b0e8a9fae1..54fde076b003dca61875b86fb6f97668a7731ee2 100644 |
--- a/chrome/browser/sync/glue/synced_tab_delegate.cc |
+++ b/chrome/browser/sync/glue/synced_tab_delegate.cc |
@@ -36,10 +36,10 @@ bool SyncedTabDelegate::ShouldSync() const { |
if (ProfileIsSupervised() && GetBlockedNavigations()->size() > 0) |
return true; |
- int entry_count = GetEntryCount(); |
- if (entry_count == 0) |
+ if (IsInitialBlankNavigation()) |
return false; // This deliberately ignores a new pending entry. |
+ int entry_count = GetEntryCount(); |
bool found_valid_url = false; |
for (int i = 0; i < entry_count; ++i) { |
const content::NavigationEntry* entry = GetEntryAtIndexMaybePending(i); |