Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1747)

Unified Diff: chrome/browser/ui/content_settings/content_setting_image_model.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/content_settings/content_setting_image_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_image_model.h b/chrome/browser/ui/content_settings/content_setting_image_model.h
index e251ce3473e4caf16e86c916d3dcc9d99e4f9877..1206fbadf5c598ae21cd9f90625de89f838ea01c 100644
--- a/chrome/browser/ui/content_settings/content_setting_image_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_image_model.h
@@ -109,8 +109,8 @@ class ContentSettingSimpleImageModel : public ContentSettingImageModel {
void SetAnimationHasRun(content::WebContents* web_contents) override;
// Factory method. Used only for testing.
- static scoped_ptr<ContentSettingImageModel> CreateForContentTypeForTesting(
- ContentSettingsType content_type);
+ static std::unique_ptr<ContentSettingImageModel>
+ CreateForContentTypeForTesting(ContentSettingsType content_type);
protected:
ContentSettingsType content_type() { return content_type_; }

Powered by Google App Engine
This is Rietveld 408576698