Index: src/xml/SkXMLWriter.cpp |
diff --git a/src/xml/SkXMLWriter.cpp b/src/xml/SkXMLWriter.cpp |
index 2ff47eae66ca0f016a985956bd08f05d78a72924..ec351b728b84b5cc69a05627f3ef07e09d8318fa 100644 |
--- a/src/xml/SkXMLWriter.cpp |
+++ b/src/xml/SkXMLWriter.cpp |
@@ -309,9 +309,7 @@ void SkXMLStreamWriter::UnitTest() |
w.addAttribute("hello", "world"); |
w.addS32Attribute("dec", 42); |
w.addHexAttribute("hex", 0x42, 3); |
-#ifdef SK_SCALAR_IS_FLOAT |
w.addScalarAttribute("scalar", -4.2f); |
-#endif |
w.startElement("elem1"); |
w.endElement(); |
w.startElement("elem1"); |