Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index ed9677f9fcacf8a22cd60196c4720f4e4cad2b6a..5afef18f92fb94c65ece3d731d6d4040bb1e3aa0 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -152,7 +152,7 @@ void ProfileSyncService::Initialize() { |
// in about:sync. |
unrecoverable_error_detected_ = false; |
unrecoverable_error_message_.clear(); |
- unrecoverable_error_location_.reset(); |
+ unrecoverable_error_location_ = tracked_objects::Location(); |
last_actionable_error_ = SyncProtocolError(); |
// Watch the preference that indicates sync is managed so we can take |
@@ -613,11 +613,7 @@ void ProfileSyncService::OnUnrecoverableError( |
const std::string& message) { |
unrecoverable_error_detected_ = true; |
unrecoverable_error_message_ = message; |
- unrecoverable_error_location_.reset( |
- new tracked_objects::Location(from_here.function_name(), |
- from_here.file_name(), |
- from_here.line_number(), |
- from_here.program_counter())); |
+ unrecoverable_error_location_ = from_here; |
// Tell the wizard so it can inform the user only if it is already open. |
wizard_.Step(SyncSetupWizard::FATAL_ERROR); |