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:
parent
732fbee1cb
commit
4e73aa1566
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user