diff --git a/debugger/QT/SkCanvasWidget.cpp b/debugger/QT/SkCanvasWidget.cpp index 0350b3d7bc..3c239d0cb4 100644 --- a/debugger/QT/SkCanvasWidget.cpp +++ b/debugger/QT/SkCanvasWidget.cpp @@ -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); diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp index b7bbe69b93..3133ada8e5 100644 --- a/tools/filtermain.cpp +++ b/tools/filtermain.cpp @@ -58,7 +58,7 @@ static bool check_0(const SkTDArray& 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& 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.