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

Unified Diff: cc/playback/transform_display_item.h

Issue 2258833002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
« no previous file with comments | « cc/playback/float_clip_display_item.h ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/transform_display_item.h
diff --git a/cc/playback/transform_display_item.h b/cc/playback/transform_display_item.h
index 661c5fd3f02ae48d8d06940bc496765250a5d6f0..15ec94bd7172fd766d078c18a26daa8dda74a364 100644
--- a/cc/playback/transform_display_item.h
+++ b/cc/playback/transform_display_item.h
@@ -46,7 +46,7 @@ class CC_EXPORT EndTransformDisplayItem : public DisplayItem {
~EndTransformDisplayItem() override;
static std::unique_ptr<EndTransformDisplayItem> Create() {
- return base::WrapUnique(new EndTransformDisplayItem());
+ return base::MakeUnique<EndTransformDisplayItem>();
}
void ToProtobuf(proto::DisplayItem* proto) const override;
« no previous file with comments | « cc/playback/float_clip_display_item.h ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698