Index: components/cloud_devices/common/cloud_device_description.cc |
diff --git a/components/cloud_devices/common/cloud_device_description.cc b/components/cloud_devices/common/cloud_device_description.cc |
index d1cb5041c8db4b38ca2dd69da0ec37c2052bebcb..ba299082b39799b7b94d02d90496d79b8c53518b 100644 |
--- a/components/cloud_devices/common/cloud_device_description.cc |
+++ b/components/cloud_devices/common/cloud_device_description.cc |
@@ -47,7 +47,7 @@ bool CloudDeviceDescription::InitFromString(const std::string& json) { |
std::string CloudDeviceDescription::ToString() const { |
std::string json; |
base::JSONWriter::WriteWithOptions( |
- root_.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); |
+ *root_, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); |
return json; |
} |