Move PathUtils to use ContextUtils.
PathUtils used to store its own application context in a static
variable, assuming that the one it was initialized with was the
application context. This can lead to memory leak bugs and with
ContextUtils#getApplicationContext client code does not have to
store its own reference to the application context.
BUG=644377
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Review-Url: https://codereview.chromium.org/2333713003
Cr-Commit-Position: refs/heads/master@{#423633}
CrOS-Libchrome-Original-Commit: 7200e9f34aa2e9006d8ea5540035de744b13d27d
2 files changed