Index: experimental/svg/SkSVGDevice.cpp |
diff --git a/experimental/svg/SkSVGDevice.cpp b/experimental/svg/SkSVGDevice.cpp |
index 91ff31364dd610b6f07532ce9ba0bc4b63b61821..a80a1c58a32e30289c5f5adba9e79289ee60687a 100644 |
--- a/experimental/svg/SkSVGDevice.cpp |
+++ b/experimental/svg/SkSVGDevice.cpp |
@@ -193,7 +193,7 @@ public: |
} |
void addText(const SkString& text) { |
- fWriter->addText(text.c_str()); |
+ fWriter->addText(text.c_str(), text.size()); |
} |
void addRectAttributes(const SkRect&); |