Index: chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
index bb71e353a1cc6274a0fa17d54127566e56a55040..fca7be5ee1efcf2e47226777b832d36dd3dece3c 100644 |
--- a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
+++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
@@ -469,8 +469,7 @@ std::string ProfileSyncServiceHarness::GetServiceStatus() { |
scoped_ptr<base::DictionaryValue> value( |
sync_ui_util::ConstructAboutInformation(service())); |
std::string service_status; |
- base::JSONWriter::WriteWithOptions(value.get(), |
- base::JSONWriter::OPTIONS_PRETTY_PRINT, |
- &service_status); |
+ base::JSONWriter::WriteWithOptions( |
+ *value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &service_status); |
return service_status; |
} |