base: Use scoped_ptr for ownership of pointers in unittests.
This puts all heap allocated values into scoped_ptrs in value_unittest.cc and json_writer_unittest.cc. This way ownership is explicit in the code and we don't use raw pointers to change owners of an object. R=thakis@chromium.org Review URL: https://codereview.chromium.org/1138103002 Cr-Commit-Position: refs/heads/master@{#329235}
Showing
This diff is collapsed.
Please register or sign in to comment