| Index: chrome/browser/ui/content_settings/content_setting_image_model.cc
|
| diff --git a/chrome/browser/ui/content_settings/content_setting_image_model.cc b/chrome/browser/ui/content_settings/content_setting_image_model.cc
|
| index b0555dbb54c093dc106f5c1e7f801f5c4955e5fb..4acdf185dfbd8c5ee4be2ffe839334a8ea032b82 100644
|
| --- a/chrome/browser/ui/content_settings/content_setting_image_model.cc
|
| +++ b/chrome/browser/ui/content_settings/content_setting_image_model.cc
|
| @@ -204,16 +204,16 @@ std::unique_ptr<ContentSettingImageModel>
|
| ContentSettingSimpleImageModel::CreateForContentTypeForTesting(
|
| ContentSettingsType content_settings_type) {
|
| if (content_settings_type == CONTENT_SETTINGS_TYPE_GEOLOCATION)
|
| - return base::WrapUnique(new ContentSettingGeolocationImageModel());
|
| + return base::MakeUnique<ContentSettingGeolocationImageModel>();
|
|
|
| if (content_settings_type == CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS)
|
| - return base::WrapUnique(new ContentSettingRPHImageModel());
|
| + return base::MakeUnique<ContentSettingRPHImageModel>();
|
|
|
| if (content_settings_type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX)
|
| - return base::WrapUnique(new ContentSettingMIDISysExImageModel());
|
| + return base::MakeUnique<ContentSettingMIDISysExImageModel>();
|
|
|
| - return base::WrapUnique(
|
| - new ContentSettingBlockedImageModel(content_settings_type));
|
| + return base::MakeUnique<ContentSettingBlockedImageModel>(
|
| + content_settings_type);
|
| }
|
|
|
| // Generic blocked content settings --------------------------------------------
|
|
|