Style bikeshed - remove extraneous whitespace
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002
Review URL: https://codereview.chromium.org/1842753002
diff --git a/gm/drawatlas.cpp b/gm/drawatlas.cpp
index 334aba7..a906cbe 100644
--- a/gm/drawatlas.cpp
+++ b/gm/drawatlas.cpp
@@ -39,17 +39,17 @@
public:
DrawAtlasGM() {}
-
+
protected:
-
+
SkString onShortName() override {
return SkString("draw-atlas");
}
-
+
SkISize onISize() override {
return SkISize::Make(640, 480);
}
-
+
void onDraw(SkCanvas* canvas) override {
const SkRect target = { 50, 50, 80, 90 };
if (nullptr == fAtlas) {
@@ -61,7 +61,7 @@
SkScalar fDegrees;
SkScalar fTx;
SkScalar fTy;
-
+
void apply(SkRSXform* xform) const {
const SkScalar rad = SkDegreesToRadians(fDegrees);
xform->fSCos = fScale * SkScalarCos(rad);
@@ -95,9 +95,8 @@
canvas->translate(0, 100);
canvas->drawAtlas(fAtlas.get(), xform, tex, colors, N, SkXfermode::kSrcIn_Mode, nullptr, &paint);
}
-
+
private:
typedef GM INHERITED;
};
DEF_GM( return new DrawAtlasGM; )
-