remove const from function return-type signature (useless, and generates gcc

warnings)



git-svn-id: http://skia.googlecode.com/svn/trunk@286 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@android.com 2009-07-23 16:00:37 +00:00
parent 659aaf9e9a
commit 41f8d4807b

View File

@ -110,7 +110,7 @@ struct SkMask {
/** Return the number of 32-bit words in a row of the 32-bit plane of an
LCD or VerticalLCD mask.
*/
const unsigned rowWordsLCD() const {
unsigned rowWordsLCD() const {
SkASSERT(fFormat == kHorizontalLCD_Format || fFormat == kVerticalLCD_Format);
if (fFormat == kHorizontalLCD_Format)
return fBounds.width() + 2;