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

Unified Diff: src/core/SkPath.cpp

Issue 51033004: add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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: src/core/SkPath.cpp
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 8f79fbe37098ac4dec5785f7fb57360090e8f9a7..d5b9660e32f24fe2c80c003e618b08df20a351fd 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -97,7 +97,8 @@ public:
}
~SkAutoPathBoundsUpdate() {
robertphillips 2013/10/30 21:54:08 I think this is wrong!
reed1 2013/10/31 15:23:23 Done.
- fPath->setIsConvex(fDegenerate);
+ fPath->setConvexity(fDegenerate ? SkPath::kUnknown_Convexity
+ : SkPath::kConvex_Convexity);
if (fEmpty || fHasValidBounds) {
fPath->setBounds(fRect);
}

Powered by Google App Engine
This is Rietveld 408576698