Fix GPU resource cache related assertions.

Review URL: https://codereview.chromium.org/879963003
3 files changed