Chromium Code Reviews| Index: include/gpu/GrTypes.h |
| =================================================================== |
| --- include/gpu/GrTypes.h (revision 11751) |
| +++ include/gpu/GrTypes.h (working copy) |
| @@ -315,7 +315,7 @@ |
| } |
| } |
| -static inline size_t GrBytesPerPixel(GrPixelConfig config) { |
| +static inline int GrBytesPerPixel(GrPixelConfig config) { |
| switch (config) { |
| case kAlpha_8_GrPixelConfig: |
| case kIndex_8_GrPixelConfig: |