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

Unified Diff: gm/picture.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/pathreverse.cpp ('k') | gm/pixelsnap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/picture.cpp
diff --git a/gm/picture.cpp b/gm/picture.cpp
index 904046deb771b700de377282864e6ae6b5e95e7a..1ea8adaa7601dd583403927eea2847638f146671 100644
--- a/gm/picture.cpp
+++ b/gm/picture.cpp
@@ -23,7 +23,7 @@ static sk_sp<SkPicture> make_picture() {
paint.setColor(0x80FF0000);
path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(100, 100);
canvas->drawPath(path, paint);
-
+
paint.setColor(0x8000FF00);
path.reset(); path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(0, 100);
canvas->drawPath(path, paint);
@@ -63,10 +63,10 @@ protected:
SkPaint paint;
canvas->drawPicture(fPicture);
-
+
matrix.setTranslate(110, 0);
canvas->drawPicture(fPicture, &matrix, nullptr);
-
+
matrix.postTranslate(110, 0);
canvas->drawPicture(fPicture, &matrix, &paint);
« no previous file with comments | « gm/pathreverse.cpp ('k') | gm/pixelsnap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698