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

Unified Diff: cc/test/fake_painted_scrollbar_layer.cc

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/test/fake_image_serialization_processor.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_painted_scrollbar_layer.cc
diff --git a/cc/test/fake_painted_scrollbar_layer.cc b/cc/test/fake_painted_scrollbar_layer.cc
index 3fbd15f71b15510f258cb38275af71f7a34e015c..c1b9e793a1d93c374c34ce67f7df56908c62bd35 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -47,8 +47,8 @@ void FakePaintedScrollbarLayer::PushPropertiesTo(LayerImpl* layer) {
std::unique_ptr<base::AutoReset<bool>>
FakePaintedScrollbarLayer::IgnoreSetNeedsCommit() {
- return base::WrapUnique(
- new base::AutoReset<bool>(&ignore_set_needs_commit_, true));
+ return base::MakeUnique<base::AutoReset<bool>>(&ignore_set_needs_commit_,
+ true);
}
} // namespace cc
« no previous file with comments | « cc/test/fake_image_serialization_processor.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698