Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: Add another presubmit check to catch two more scoped_ptr usages.
This should catch the following usages: 1- return scoped_ptr<T>(foo) 2- bar = scoped_ptr<T>(foo) And recommend the solo usage of make_scoped_ptr(). The entries were found with the following command line: $ git grep -E '(=|\breturn)\s*scoped_ptr<.*?>([^)]+)' BUG=None TEST=g cl presubmit -uv R=sky@chromium.org,maruel@chromium.org Review URL: https://codereview.chromium.org/919253002 Cr-Commit-Position: refs/heads/master@{#317669}
- Loading branch information