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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc

Issue 2259753003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
index 1cfa171b3cde42da367c0bf09999e81be276faff..dccef01e78328127185556c45c65b0d94aad5aba 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.cc
@@ -24,7 +24,7 @@ void DrmThreadProxy::BindThreadIntoMessagingProxy(
std::unique_ptr<DrmWindowProxy> DrmThreadProxy::CreateDrmWindowProxy(
gfx::AcceleratedWidget widget) {
- return base::WrapUnique(new DrmWindowProxy(widget, &drm_thread_));
+ return base::MakeUnique<DrmWindowProxy>(widget, &drm_thread_);
}
scoped_refptr<GbmBuffer> DrmThreadProxy::CreateBuffer(
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698