Index: chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
index 57abe0f8b1e474ba4391ba26eb2d4b60999b0d7a..1b9765f27168315369a6e87c3888d0c308321f4f 100644 |
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
@@ -743,10 +743,8 @@ void MediaGalleriesGetMetadataFunction::ConstructNextBlob( |
&(*attached_images)[blob_uuids->size()]; |
std::unique_ptr<base::DictionaryValue> attached_image( |
new base::DictionaryValue); |
- attached_image->Set(kBlobUUIDKey, new base::StringValue( |
- current_blob->GetUUID())); |
- attached_image->Set(kTypeKey, new base::StringValue( |
- current_image->type)); |
+ attached_image->Set(kBlobUUIDKey, new base::Value(current_blob->GetUUID())); |
+ attached_image->Set(kTypeKey, new base::Value(current_image->type)); |
attached_image->Set( |
kSizeKey, |
new base::Value(base::checked_cast<int>(current_image->data.size()))); |