summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/program_manager.cc
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2014-10-09 11:53:22 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-09 18:53:41 +0000
commit47ceb87ed6f9865bd9595a9e1c27947d0d33f461 (patch)
treeda880b9a9d8ddd6df40b6f825028f78ed4f5df5e /gpu/command_buffer/service/program_manager.cc
parentc7783b33179e810d74b93a0da553a13149e5fb92 (diff)
downloadchromium_src-47ceb87ed6f9865bd9595a9e1c27947d0d33f461.zip
chromium_src-47ceb87ed6f9865bd9595a9e1c27947d0d33f461.tar.gz
chromium_src-47ceb87ed6f9865bd9595a9e1c27947d0d33f461.tar.bz2
Avoid ALLOW_UNUSED (and the like) where it's not necessary or there are better
alternatives. BUG=none TEST=none Review URL: https://codereview.chromium.org/634683004 Cr-Commit-Position: refs/heads/master@{#298947}
Diffstat (limited to 'gpu/command_buffer/service/program_manager.cc')
-rw-r--r--gpu/command_buffer/service/program_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index 4dd4bc4..674c624 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -471,8 +471,8 @@ void Program::Update() {
// remove "[0]"
std::string short_name;
int element_index = 0;
- bool good ALLOW_UNUSED = GetUniformNameSansElement(
- data.queried_name, &element_index, &short_name);\
+ bool good = GetUniformNameSansElement(data.queried_name, &element_index,
+ &short_name);
DCHECK(good);
LocationMap::const_iterator it = bind_uniform_location_map_.find(
short_name);