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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user