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

Unified Diff: blimp/client/core/compositor/blob_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
« no previous file with comments | « no previous file | blimp/client/feature/compositor/blimp_compositor_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/compositor/blob_image_serialization_processor.cc
diff --git a/blimp/client/core/compositor/blob_image_serialization_processor.cc b/blimp/client/core/compositor/blob_image_serialization_processor.cc
index d3bac8f8640d3a3876e2d7ffb9aff28f84103292..d10e5c421fdd696132a79e7e8895d0f948a32acd 100644
--- a/blimp/client/core/compositor/blob_image_serialization_processor.cc
+++ b/blimp/client/core/compositor/blob_image_serialization_processor.cc
@@ -91,8 +91,8 @@ BlobImageSerializationProcessor::CreateEnginePictureCache() {
std::unique_ptr<cc::ClientPictureCache>
BlobImageSerializationProcessor::CreateClientPictureCache() {
- return base::WrapUnique(new BlimpClientPictureCache(
- &BlobImageSerializationProcessor::InstallPixelRefProc));
+ return base::MakeUnique<BlimpClientPictureCache>(
+ &BlobImageSerializationProcessor::InstallPixelRefProc);
}
} // namespace client
« no previous file with comments | « no previous file | blimp/client/feature/compositor/blimp_compositor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698