[AppCache] Don't use DCHECK to validate MarkAsForeignEntry parameters.

This is an IPC that comes from a potentially untrusted renderer, so
don't use DCHECK to make sure the entry it refers to exists, instead
just silently ignore invalid entries.

Bug: 919264
Change-Id: If5addcecfcb5e2c56bd78f918f635269982635e7
Reviewed-on: https://chromium-review.googlesource.com/c/1407442
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622260}
1 file changed