Index: src/core/SkRecords.h |
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h |
index 6e25dd22e261e04be5225b34f35881242f58ab07..183c64776c7d77c9357e239b54215f96c458a055 100644 |
--- a/src/core/SkRecords.h |
+++ b/src/core/SkRecords.h |
@@ -10,6 +10,7 @@ |
#include "SkCanvas.h" |
#include "SkDrawable.h" |
+#include "SkPathPriv.h" |
#include "SkPicture.h" |
#include "SkTextBlob.h" |
@@ -215,8 +216,8 @@ struct PreCachedPath : public SkPath { |
PreCachedPath() {} |
explicit PreCachedPath(const SkPath& path) : SkPath(path) { |
this->updateBoundsCache(); |
- SkPath::Direction junk; |
- (void)this->cheapComputeDirection(&junk); |
+ SkPathPriv::FirstDirection junk; |
+ (void)SkPathPriv::CheapComputeFirstDirection(*this, &junk); |
} |
}; |