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

Unified Diff: ui/ozone/platform/drm/gpu/drm_window.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_proxy.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.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_window.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_window.cc b/ui/ozone/platform/drm/gpu/drm_window.cc
index ca77b02b10233cb75d21f17eeb0cdedadaeca4a5..f88eb09ab94088391b5a6e89a37dd68c88d2d8b9 100644
--- a/ui/ozone/platform/drm/gpu/drm_window.cc
+++ b/ui/ozone/platform/drm/gpu/drm_window.cc
@@ -60,7 +60,7 @@ void DrmWindow::Initialize(ScanoutBufferGenerator* buffer_generator) {
device_manager_->UpdateDrmDevice(widget_, nullptr);
overlay_validator_ =
- base::WrapUnique(new DrmOverlayValidator(this, buffer_generator));
+ base::MakeUnique<DrmOverlayValidator>(this, buffer_generator);
}
void DrmWindow::Shutdown() {
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread_proxy.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698