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:danakj <danakj@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#682415}
Showing
This diff is collapsed.
Please register or sign in to comment