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

Unified Diff: src/core/SkPath.cpp

Issue 12699002: Upstream changes from Android. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more fiex Created 7 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 | « src/core/SkPaint.cpp ('k') | src/core/SkScalerContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPath.cpp
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index aa35e74e6cbda90bc91f2a97a2283ace132dc550..006fcf85f24d79bf700d33aad8ea86703d4c57ec 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -1680,6 +1680,12 @@ void SkPath::transform(const SkMatrix& matrix, SkPath* dst) const {
dst->fConvexity = fConvexity;
}
+#ifdef SK_BUILD_FOR_ANDROID
+ if (!matrix.isIdentity()) {
+ GEN_ID_PTR_INC(dst);
+ }
+#endif
+
if (kUnknown_Direction == fDirection) {
dst->fDirection = kUnknown_Direction;
} else {
« no previous file with comments | « src/core/SkPaint.cpp ('k') | src/core/SkScalerContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698