commit | 511c810d540422faf221bd82a4532313cabcc4c4 | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Wed Mar 08 09:00:31 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Mar 08 09:00:31 2017 |
tree | 98efaf55b16fa0d9c94b4295b41b7bc0f321342b | |
parent | 2acea43a7272838a75e4c6b7e5473dd6f9c4aa79 [diff] |
Remove a scoped_refptr<>::swap overload A scoped_refptr<>::swap overload is used to insert or remove the internal pointer without manipulating the ref count. That functionality should not be exposed, or at least, should be exposed separately with better name. This CL removes the swap() overload, and rewrites callers without swap(). Review-Url: https://codereview.chromium.org/2723083004 Cr-Commit-Position: refs/heads/master@{#455407}