summaryrefslogtreecommitdiffstats
path: root/skia/corecg/SkMatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skia/corecg/SkMatrix.cpp')
-rw-r--r--skia/corecg/SkMatrix.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/skia/corecg/SkMatrix.cpp b/skia/corecg/SkMatrix.cpp
index 78f6688..d5b64ec 100644
--- a/skia/corecg/SkMatrix.cpp
+++ b/skia/corecg/SkMatrix.cpp
@@ -1574,6 +1574,11 @@ bool SkMatrix::setPolyToPoly(const SkPoint src[], const SkPoint dst[],
///////////////////////////////////////////////////////////////////////////////
void SkMatrix::dump() const {
+// Note: We don't use this so it's #if 0'd out. If turned back on, there
+// is an #ifdef parsing difference between gcc and msvc where msvc incorrectly
+// allows a missing #endif. Attempts to reconcile proved unfruitful thus we
+// just turned it off.
+#if 0
// ensure the fTypeMask is up2date
(void)this->getType();
#ifdef SK_DEBUG
@@ -1592,6 +1597,8 @@ void SkMatrix::dump() const {
SkFractToFloat(fMat[6]), SkFractToFloat(fMat[7]), SkFractToFloat(fMat[8]),
fTypeMask);
#endif
+#endif
+#endif
}
///////////////////////////////////////////////////////////////////////////////