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

Unified Diff: samplecode/ClockFaceView.cpp

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Serialization with strings as ID Created 7 years, 2 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
Index: samplecode/ClockFaceView.cpp
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp
index 1e9b89e9de698ea0235c76bac2f36ee5e5729fc9..4e9e2e3330e09f73847d5a0789a3e939c1e411f8 100644
--- a/samplecode/ClockFaceView.cpp
+++ b/samplecode/ClockFaceView.cpp
@@ -71,7 +71,7 @@ public:
SkTDArray<SkPoint>* pts)
: Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(Dot2DPathEffect)
+ SK_DEFINE_FLATTENABLE_TYPE(Dot2DPathEffect)
protected:
virtual void begin(const SkIRect& uvBounds, SkPath* dst) const SK_OVERRIDE {
@@ -115,7 +115,7 @@ public:
dst->setFillType(SkPath::kInverseWinding_FillType);
return true;
}
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(InverseFillPE)
+ SK_DEFINE_FLATTENABLE_TYPE(InverseFillPE)
protected:
InverseFillPE(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}

Powered by Google App Engine
This is Rietveld 408576698