Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@7099 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-01-09 02:01:30 +00:00
parent 732fbee1cb
commit 4e73aa1566
2 changed files with 2 additions and 2 deletions

View File

@ -1200,7 +1200,7 @@ void SkGpuDevice::drawBitmapCommon(const SkDraw& draw,
GrPaint grPaint;
SkAutoCachedTexture colorLutTexture;
bool alphaOnly = !(SkBitmap::kA8_Config == bitmap.config());
if (!skPaint2GrPaintNoShader(this, paint, alphaOnly, false, &colorLutTexture, &grPaint)) {
return;

View File

@ -160,7 +160,7 @@ static unsigned getModi(const XEvent& evt) {
{ 4, kControl_SkModifierKey },
{ 8, kOption_SkModifierKey },
};
unsigned modi = 0;
for (size_t i = 0; i < SK_ARRAY_COUNT(gModi); ++i) {
if (evt.xkey.state & gModi[i].fXMask) {