Index: gm/bitmapfilters.cpp |
diff --git a/gm/bitmapfilters.cpp b/gm/bitmapfilters.cpp |
index b7273288aca802e2529c231a7eaf9f3ab055f743..2cded98236990bf803821815e00ec922758a212f 100644 |
--- a/gm/bitmapfilters.cpp |
+++ b/gm/bitmapfilters.cpp |
@@ -131,19 +131,19 @@ class TestExtractAlphaGM : public skiagm::GM { |
fBitmap.extractAlpha(&fAlpha); |
} |
- |
+ |
public: |
SkBitmap fBitmap, fAlpha; |
- |
+ |
protected: |
SkString onShortName() override { |
return SkString("extractalpha"); |
} |
- |
+ |
SkISize onISize() override { |
return SkISize::Make(540, 330); |
} |
- |
+ |
void onDraw(SkCanvas* canvas) override { |
SkPaint paint; |
paint.setAntiAlias(true); |
@@ -153,9 +153,8 @@ protected: |
canvas->drawBitmap(fBitmap, 10, 10, &paint); // should stay blue (ignore paint's color) |
canvas->drawBitmap(fAlpha, 120, 10, &paint); // should draw red |
} |
- |
+ |
private: |
typedef skiagm::GM INHERITED; |
}; |
DEF_GM( return new TestExtractAlphaGM; ) |
- |