Merge "Implement DetachedBuffer::Promote" into pi-dev