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

Unified Diff: samplecode/ClockFaceView.cpp

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fixing comments 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..8ef2844cd98352d756dccc627a3db5a198b0aed2 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_CHECKING_PROCS(Dot2DPathEffect)
sugoi1 2013/10/09 14:29:58 Both should be SK_DEFINE_FLATTENABLE_DESERIALIZATI
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_CHECKING_PROCS(InverseFillPE)
protected:
InverseFillPE(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}

Powered by Google App Engine
This is Rietveld 408576698