Index: components/history/core/browser/history_delete_directives_data_type_controller.cc |
diff --git a/components/history/core/browser/history_delete_directives_data_type_controller.cc b/components/history/core/browser/history_delete_directives_data_type_controller.cc |
index f7a40626a4b8f763b1dc3e0753a704fef07d3fd3..86c0a736d3d421ff2b96402ac74de9cedcffc6e5 100644 |
--- a/components/history/core/browser/history_delete_directives_data_type_controller.cc |
+++ b/components/history/core/browser/history_delete_directives_data_type_controller.cc |
@@ -43,7 +43,8 @@ void HistoryDeleteDirectivesDataTypeController::StopModels() { |
sync_client_->GetSyncService()->RemoveObserver(this); |
} |
-void HistoryDeleteDirectivesDataTypeController::OnStateChanged() { |
+void HistoryDeleteDirectivesDataTypeController::OnStateChanged( |
+ syncer::SyncService* sync) { |
DisableTypeIfNecessary(); |
} |