Index: chrome/browser/sync/glue/frontend_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/frontend_data_type_controller.cc b/chrome/browser/sync/glue/frontend_data_type_controller.cc |
index eaa6ea5494b8334f6ce4aa4b010bff6819c0aba0..03c592d8471909a2d75fd1c9d649f06a2efbeb83 100644 |
--- a/chrome/browser/sync/glue/frontend_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/frontend_data_type_controller.cc |
@@ -153,9 +153,12 @@ void FrontendDataTypeController::OnSingleDataTypeUnrecoverableError( |
if (!start_callback_.is_null()) { |
syncer::SyncMergeResult local_merge_result(type()); |
local_merge_result.set_error(error); |
- start_callback_.Run(RUNTIME_ERROR, |
- local_merge_result, |
- syncer::SyncMergeResult(type())); |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, |
+ base::Bind(start_callback_, |
+ RUNTIME_ERROR, |
+ local_merge_result, |
+ syncer::SyncMergeResult(type()))); |
} |
} |