Remove dead debug code.
Review URL: http://codereview.appspot.com/4521056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1300 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
25a61c37b7
commit
f475a33146
@ -391,8 +391,6 @@ bool SkGpuDevice::skPaint2GrPaintShader(const SkPaint& skPaint,
|
||||
SkShader* shader = skPaint.getShader();
|
||||
if (NULL == shader) {
|
||||
return this->skPaint2GrPaintNoShader(skPaint, false, grPaint);
|
||||
grPaint->setTexture(NULL);
|
||||
return true;
|
||||
} else if (!this->skPaint2GrPaintNoShader(skPaint, true, grPaint)) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user