summaryrefslogtreecommitdiffstats
path: root/skia/corecg/SkMatrix.cpp
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 22:54:10 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 22:54:10 +0000
commit077bf89f7c5934cd90ccdb21f3d96bda665ba182 (patch)
treeea31aea27e548fa609ade454f38540875027d3b4 /skia/corecg/SkMatrix.cpp
parent099334476813e112dc12f912b89718fdef2cc384 (diff)
downloadchromium_src-077bf89f7c5934cd90ccdb21f3d96bda665ba182.zip
chromium_src-077bf89f7c5934cd90ccdb21f3d96bda665ba182.tar.gz
chromium_src-077bf89f7c5934cd90ccdb21f3d96bda665ba182.tar.bz2
Get chrome's skia project building on mac
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@838 0039d316-1c4b-4281-b951-d872f2087c98
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
}
///////////////////////////////////////////////////////////////////////////////