Chromium Code Reviews

Unified Diff: command_buffer/client/cross/effect_helper.cc

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « command_buffer/client/cross/cmd_buffer_helper.cc ('k') | command_buffer/command_buffer.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/client/cross/effect_helper.cc
===================================================================
--- command_buffer/client/cross/effect_helper.cc (revision 25949)
+++ command_buffer/client/cross/effect_helper.cc (working copy)
@@ -175,7 +175,7 @@
const char *raw_desc_string = reinterpret_cast<char *>(raw_desc);
if (raw_desc->name_offset) {
DCHECK_LE(raw_desc->name_offset + raw_desc->name_size, raw_desc->size);
- DCHECK_GT(raw_desc->name_size, 0);
+ DCHECK_GT(raw_desc->name_size, 0U);
DCHECK_EQ(raw_desc_string[raw_desc->name_offset + raw_desc->name_size - 1],
0);
desc->name = String(raw_desc_string + raw_desc->name_offset,
@@ -186,7 +186,7 @@
if (raw_desc->semantic_offset) {
DCHECK_LE(raw_desc->semantic_offset + raw_desc->semantic_size,
raw_desc->size);
- DCHECK_GT(raw_desc->semantic_size, 0);
+ DCHECK_GT(raw_desc->semantic_size, 0U);
DCHECK_EQ(raw_desc_string[raw_desc->semantic_offset +
raw_desc->semantic_size - 1],
0);
« no previous file with comments | « command_buffer/client/cross/cmd_buffer_helper.cc ('k') | command_buffer/command_buffer.gyp » ('j') | no next file with comments »

Powered by Google App Engine