Index: src/core/SkString.cpp |
diff --git a/src/core/SkString.cpp b/src/core/SkString.cpp |
index 1e29dc71723bdb803e5d2d9cd7c9ac68be3fe55d..48459dbbd8ac69eabb6f2f72cbbf1c9ff862e7f5 100644 |
--- a/src/core/SkString.cpp |
+++ b/src/core/SkString.cpp |
@@ -583,6 +583,14 @@ void SkString::prependf(const char format[], ...) { |
this->prepend(buffer, strlen(buffer)); |
} |
+void SkString::prependVAList(const char format[], va_list args) { |
+ char buffer[kBufferSize]; |
+ VSNPRINTF(buffer, kBufferSize, format, args); |
+ |
+ this->prepend(buffer, strlen(buffer)); |
+} |
+ |
+ |
/////////////////////////////////////////////////////////////////////////////// |
void SkString::remove(size_t offset, size_t length) { |