cc: Turn ResourceProvider::ValidateResources into DCHECK-only code.
commitba47f5a1c88309ee39f2c5befe91119a45a630d8
authordanakj <danakj@chromium.org>
Thu, 23 Apr 2015 20:11:44 +0000 (23 13:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 23 Apr 2015 20:13:02 +0000 (23 20:13 +0000)
tree8f07abee04ce1ac9d8d333a68e8ad57cf695f0a9
parentce89b915d34a6bbe645da530b61bc3461e49f70f
cc: Turn ResourceProvider::ValidateResources into DCHECK-only code.

These CHECKs have helped us find the bugs we were searching for, so we
can make them DCHECKs now. I've opted to keep around DCHECKs rather
than removing it entirely, as crashing during swap instead of inside
AppendQuads is really hard to debug.

R=enne@chromium.org, piman@chromium.org
BUG=475894

Review URL: https://codereview.chromium.org/1084433003

Cr-Commit-Position: refs/heads/master@{#326622}
cc/resources/resource_provider.cc