Remove ResourceProvider::RESOURCE_TYPE_INVALID
commitaf0ee682a73915d24ccb633ddd25be63cca82730
authorboliu <boliu@chromium.org>
Tue, 14 Apr 2015 00:23:43 +0000 (13 17:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Apr 2015 00:24:57 +0000 (14 00:24 +0000)
tree430e6efba3ad89d57ebd0ebf90bf922939f57b7e
parent8ee4b23f4724028ca466737979e129ca8c3c3fac
Remove ResourceProvider::RESOURCE_TYPE_INVALID

INVALID type is only used during ResourceProvider construction, and
internally within ResourceProvider, in the Resource default constructor.

Rework these cases and then remove RESOURCE_TYPE_INVALID.

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

Cr-Commit-Position: refs/heads/master@{#324959}
cc/output/software_renderer.cc
cc/resources/resource_provider.cc
cc/resources/resource_provider.h
cc/resources/resource_provider_unittest.cc