Index: chrome/browser/ui/webui/ntp/foreign_session_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc |
index 61fa871a1a94006f2ccf96ce2c501cf390551a8c..e8bb973a404131dceba7da357db750ffc78fc668 100644 |
--- a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc |
@@ -218,7 +218,7 @@ bool ForeignSessionHandler::IsTabSyncEnabled() { |
Profile* profile = Profile::FromWebUI(web_ui()); |
ProfileSyncService* service = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
- return service && service->GetPreferredDataTypes().Has(syncer::PROXY_TABS); |
+ return service && service->GetActiveDataTypes().Has(syncer::PROXY_TABS); |
} |
string16 ForeignSessionHandler::FormatSessionTime(const base::Time& time) { |