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

Unified Diff: chrome/browser/sync/glue/session_change_processor.cc

Issue 22882007: Remove GetActiveEntry usage from chrome/browser/ui. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on ToT. Created 7 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/session_model_associator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/session_change_processor.cc
diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc
index 00cba9ee8ed5525ccf402a104c2ecac2064510de..dcf0f4073dfee433b73cdba768f09ed4e8eb0863 100644
--- a/chrome/browser/sync/glue/session_change_processor.cc
+++ b/chrome/browser/sync/glue/session_change_processor.cc
@@ -310,7 +310,7 @@ void SessionChangeProcessor::ProcessModifiedTabs(
// refreshes just because the refresh page is open in a background tab).
if (!modified_tabs.empty()) {
SyncedTabDelegate* tab = modified_tabs.front();
- const content::NavigationEntry* entry = tab->GetActiveEntry();
+ const content::NavigationEntry* entry = tab->GetVisibleEntry();
if (!tab->IsBeingDestroyed() &&
entry &&
entry->GetVirtualURL().is_valid() &&
« no previous file with comments | « no previous file | chrome/browser/sync/glue/session_model_associator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698