Commit 62a338dc authored by Mohsen Izadi's avatar Mohsen Izadi Committed by Commit Bot

Return unique_ptr's in ui/compositor/layer_unittest.cc factory functions

While adding a test to //ui/compositor/layer_unittes.cc, I noticed that
there are a bunch of factory functions that return raw pointers that the
call sites wrap in unique_ptr's. Changed them to return unique_ptr's to
make ownership more clear.

BUG=none

Change-Id: I7f54855265fadc7692c7ca7e40937642ed809f00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726897Reviewed-by: default avatardanakj <danakj@chromium.org>
Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#682415}
parent f33797f4
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment