Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@7730 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-02-14 07:01:34 +00:00
parent ba98f95aa5
commit 3d18d063f0
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ void SkCanvasWidget::resetWidgetTransform() {
void SkCanvasWidget::setWidgetVisibility(WidgetType type, bool isHidden) {
if (type == kRaster_8888_WidgetType) {
fRasterWidget.setHidden(isHidden);
}
}
#if SK_SUPPORT_GPU
else if (type == kGPU_WidgetType) {
fGLWidget.setHidden(isHidden);

View File

@ -58,7 +58,7 @@ static bool check_0(const SkTDArray<SkDrawCommand*>& commands, int curCommand) {
const SkPaint* saveLayerPaint = saveLayer->paint();
SkPaint* dbmrPaint = dbmr->paint();
// For this optimization we only fold the saveLayer and drawBitmapRect
// For this optimization we only fold the saveLayer and drawBitmapRect
// together if the saveLayer's draw is simple (i.e., no fancy effects) and
// and the only difference in the colors is that the saveLayer's can have
// an alpha while the drawBitmapRect's is opaque.
@ -123,7 +123,7 @@ static bool check_1(const SkTDArray<SkDrawCommand*>& commands, int curCommand) {
const SkPaint* saveLayerPaint = saveLayer->paint();
SkPaint* dbmrPaint = dbmr->paint();
// For this optimization we only fold the saveLayer and drawBitmapRect
// For this optimization we only fold the saveLayer and drawBitmapRect
// together if the saveLayer's draw is simple (i.e., no fancy effects) and
// and the only difference in the colors is that the saveLayer's can have
// an alpha while the drawBitmapRect's is opaque.