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

Unified Diff: samplecode/SampleXfer.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 | « samplecode/SampleWritePixels.cpp ('k') | samplecode/vertexdump.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleXfer.cpp
diff --git a/samplecode/SampleXfer.cpp b/samplecode/SampleXfer.cpp
index 58546e19cd28d9f49df68fd981e9ba83d6c99929..6aaffe59c9dc87014cc51f074af7b2cd30fcd2ab 100644
--- a/samplecode/SampleXfer.cpp
+++ b/samplecode/SampleXfer.cpp
@@ -57,7 +57,7 @@ public:
fColor = (gRand.nextU() & 0x7F7F7F7F) | SkColorSetARGB(0xFF, 0, 0, 0x80);
fFast32 = fast;
}
-
+
protected:
void onPrepareWidEvent(SkEvent* evt) override {
evt->setType("push-button");
@@ -101,7 +101,7 @@ protected:
}
return true;
}
-
+
private:
typedef HasEventWig INHERITED;
};
@@ -151,7 +151,7 @@ class XferDemo : public SampleView {
enum {
N = 4
};
-
+
SkRect fModeRect[N_Modes];
SkAutoTUnref<CircDrawable> fDrs[N];
CircDrawable* fSelected;
@@ -234,7 +234,7 @@ protected:
this->inval(nullptr);
return fSelected ? new Click(this) : nullptr;
}
-
+
bool onClick(Click* click) override {
fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX;
fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY;
« no previous file with comments | « samplecode/SampleWritePixels.cpp ('k') | samplecode/vertexdump.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698