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

Unified Diff: components/sync_sessions/session_data_type_controller.cc

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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: components/sync_sessions/session_data_type_controller.cc
diff --git a/components/sync_sessions/session_data_type_controller.cc b/components/sync_sessions/session_data_type_controller.cc
index ec144668b0729f7548055039945305e8405998c9..b40c773da36cbff1dea24ea3f12cbf82cb277f8a 100644
--- a/components/sync_sessions/session_data_type_controller.cc
+++ b/components/sync_sessions/session_data_type_controller.cc
@@ -81,7 +81,7 @@ bool SessionDataTypeController::IsWaiting() {
}
void SessionDataTypeController::MaybeCompleteLoading() {
- if (state_ == MODEL_STARTING && !IsWaiting()) {
+ if (state() == MODEL_STARTING && !IsWaiting()) {
OnModelLoaded();
}
}
« no previous file with comments | « components/sync_sessions/session_data_type_controller.h ('k') | ios/chrome/browser/sync/ios_chrome_sync_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698