remove Skia toString() use (flutter/engine#5326)

Skia toString() is not maintained; the debugger that used it has been replaced. 
Replace usage with equivalent implementation.
This commit is contained in:
cary-clark
2018-05-21 09:04:51 -04:00
committed by Brian Osman
parent 07746539e0
commit 0e82a0b583

View File

@@ -25,7 +25,9 @@ std::ostream& operator<<(std::ostream& os, const flow::MatrixDecomposition& m) {
std::ostream& operator<<(std::ostream& os, const SkMatrix& m) {
SkString string;
m.toString(&string);
string.printf(
"[%8.4f %8.4f %8.4f][%8.4f %8.4f %8.4f][%8.4f %8.4f %8.4f]",
m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8]);
os << string.c_str();
return os;
}