diff options
author | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:15:22 +0000 |
---|---|---|
committer | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 00:15:22 +0000 |
commit | 36e750033db677c5b8207b224d1ebb4d08d8457f (patch) | |
tree | ceef43caf036b197af58fcd8d44b6b548ba6ceb4 /gpu | |
parent | b95fea998bb4df3cc0f3b63633b059b531ebc22a (diff) | |
download | chromium_src-36e750033db677c5b8207b224d1ebb4d08d8457f.zip chromium_src-36e750033db677c5b8207b224d1ebb4d08d8457f.tar.gz chromium_src-36e750033db677c5b8207b224d1ebb4d08d8457f.tar.bz2 |
Remove a DCHECK in name hashing.
So it turns out stream << std::hex << 64_bit_number may not always end up as 16 characters.
I think the leading 0s are not generated.
BUG=173723
TEST=gpu mac bots
TBR=kbr
Review URL: https://codereview.chromium.org/12172002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/program_manager.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc index c179ac8..62549fc 100644 --- a/gpu/command_buffer/service/program_manager.cc +++ b/gpu/command_buffer/service/program_manager.cc @@ -163,8 +163,6 @@ std::string ProgramManager::ProgramInfo::ProcessLogInfo( size_t end_of_name = log.find_first_not_of( "0123456789abcdefABCDEF", next + kHashedNamePrefixLength); size_t name_length = end_of_name - next; - // Currently we use 64bit hashing, which converts to 16 hex digits. - DCHECK(name_length == kHashedNamePrefixLength + 16); std::string hashed_name = log.substr(next, name_length); const std::string* original_name = GetOriginalNameFromHashedName(hashed_name); |