Revert broken pieces of r179373.

You can't copy an OwningPtr, and move semantics aren't available in C++98.