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

Unified Diff: samplecode/SampleStrokePath.cpp

Issue 932723003: flip stroke to chrome compatible define (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 10 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/SamplePathFuzz.cpp ('k') | samplecode/SampleTextOnPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleStrokePath.cpp
diff --git a/samplecode/SampleStrokePath.cpp b/samplecode/SampleStrokePath.cpp
index 4f6e3cc743579c26a30b4ba0d1a23902d474faab..5369a93a808ea7066a2e719be70cbad1a39ce9b3 100644
--- a/samplecode/SampleStrokePath.cpp
+++ b/samplecode/SampleStrokePath.cpp
@@ -98,8 +98,8 @@ static const struct {
class StrokePathView : public SampleView {
SkScalar fWidth;
SkPath fPath;
-public:
- StrokePathView() {
+protected:
+ virtual void onceBeforeDraw() {
// test_blur();
fWidth = SkIntToScalar(120);
@@ -122,7 +122,6 @@ public:
this->setBGColor(0xFFDDDDDD);
}
-protected:
// overrides from SkEventSink
bool onQuery(SkEvent* evt) SK_OVERRIDE {
if (SampleCode::TitleQ(*evt)) {
« no previous file with comments | « samplecode/SamplePathFuzz.cpp ('k') | samplecode/SampleTextOnPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698