Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2171)

Unified Diff: command_buffer/service/cross/texture_utils.h

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « command_buffer/service/cross/gapi_decoder.cc ('k') | command_buffer/service/win/d3d9/geometry_d3d9.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/service/cross/texture_utils.h
===================================================================
--- command_buffer/service/cross/texture_utils.h (revision 25949)
+++ command_buffer/service/cross/texture_utils.h (working copy)
@@ -75,8 +75,8 @@
// Round a value up, so that it is divisible by the block size.
static inline unsigned int RoundToBlockSize(unsigned int base,
unsigned int block) {
- DCHECK_GT(base, 0);
- DCHECK_GT(block, 0);
+ DCHECK_GT(base, 0U);
+ DCHECK_GT(block, 0U);
return block + base - 1 - (base - 1) % block;
}
« no previous file with comments | « command_buffer/service/cross/gapi_decoder.cc ('k') | command_buffer/service/win/d3d9/geometry_d3d9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698