Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index 6b90e7b06004bd012665af514f5dad67837d260e..e8524a65e3945537cbe39a629e4f99ed6af6e194 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -289,8 +289,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
return unrecoverable_error_message_; |
} |
tracked_objects::Location unrecoverable_error_location() { |
- return unrecoverable_error_location_.get() ? |
- *unrecoverable_error_location_.get() : tracked_objects::Location(); |
+ return unrecoverable_error_location_; |
} |
bool UIShouldDepictAuthInProgress() const { |
@@ -606,7 +605,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// A message sent when an unrecoverable error occurred. |
std::string unrecoverable_error_message_; |
- scoped_ptr<tracked_objects::Location> unrecoverable_error_location_; |
+ tracked_objects::Location unrecoverable_error_location_; |
// Manages the start and stop of the various data types. |
scoped_ptr<browser_sync::DataTypeManager> data_type_manager_; |