They are vastly improving code quality by replacing first party libraries with third party ones. For example all the encryption libraries, media codecs etc. create a needlessly large attack surface (and general correctness surface) if you roll your own. That's why some of the first things they've started using are FFMPEG and OpenSSL.