Summary: Eliminate a copy on get_shared_ptr.
Differential Revision: D42944929
This pull request was exported from Phabricator. Differential Revision: D42944929