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

Unified Diff: blimp/engine/renderer/engine_image_serialization_processor.cc

Issue 2250433006: 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
Index: blimp/engine/renderer/engine_image_serialization_processor.cc
diff --git a/blimp/engine/renderer/engine_image_serialization_processor.cc b/blimp/engine/renderer/engine_image_serialization_processor.cc
index e62b1310a69f6cef69592d4026781f2bd6f86e67..5fb160cc3507a7a06d1d87caafa0dfda1010f4cf 100644
--- a/blimp/engine/renderer/engine_image_serialization_processor.cc
+++ b/blimp/engine/renderer/engine_image_serialization_processor.cc
@@ -100,7 +100,7 @@ EngineImageSerializationProcessor::~EngineImageSerializationProcessor() {
std::unique_ptr<cc::EnginePictureCache>
EngineImageSerializationProcessor::CreateEnginePictureCache() {
- return base::WrapUnique(new BlimpEnginePictureCache(this));
+ return base::MakeUnique<BlimpEnginePictureCache>(this);
}
std::unique_ptr<cc::ClientPictureCache>
« no previous file with comments | « blimp/engine/feature/geolocation/engine_geolocation_feature.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698