Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: gm/gammatext.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/fontmgr.cpp ('k') | gm/gm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gammatext.cpp
diff --git a/gm/gammatext.cpp b/gm/gammatext.cpp
index e978b6bc05dad8ebd7d18a74d00ae089e4e5a0ab..bc5feb3375b512dce9405098f7591b9d0324debb 100644
--- a/gm/gammatext.cpp
+++ b/gm/gammatext.cpp
@@ -115,7 +115,7 @@ static void set_face(SkPaint* paint) {
static void draw_pair(SkCanvas* canvas, SkPaint* paint, const sk_sp<SkShader>& shader) {
const char text[] = "Now is the time for all good";
const size_t len = strlen(text);
-
+
paint->setShader(nullptr);
canvas->drawText(text, len, 10, 20, *paint);
paint->setShader(SkShader::MakeColorShader(paint->getColor()));
@@ -140,7 +140,7 @@ protected:
SkString onShortName() override {
return SkString("gammagradienttext");
}
-
+
SkISize onISize() override {
return SkISize::Make(300, 300);
}
@@ -164,10 +164,9 @@ protected:
canvas->translate(0, 80);
}
}
-
+
private:
typedef skiagm::GM INHERITED;
};
DEF_GM( return new GammaShaderTextGM; )
-
« no previous file with comments | « gm/fontmgr.cpp ('k') | gm/gm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698