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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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/glue/session_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/session_data_type_controller.cc b/chrome/browser/sync/glue/session_data_type_controller.cc
index 68186cbd59eb670d02c82807bd9f722bfa4a109a..4b8c44fd8a82e9cdd69ba2fa95a22caad32ffa8e 100644
--- a/chrome/browser/sync/glue/session_data_type_controller.cc
+++ b/chrome/browser/sync/glue/session_data_type_controller.cc
@@ -31,7 +31,8 @@ syncable::ModelType SessionDataTypeController::type() const {
void SessionDataTypeController::CreateSyncComponents() {
ProfileSyncFactory::SyncComponents sync_components = profile_sync_factory_->
CreateSessionSyncComponents(sync_service_, this);
- model_associator_.reset(sync_components.model_associator);
+ model_associator_ = reinterpret_cast<NewAssociatorInterface*>(
+ sync_components.model_associator);
change_processor_.reset(sync_components.change_processor);
}

Powered by Google App Engine
This is Rietveld 408576698