call existing ostream operator for SkMatrix (#5427)

This permits removing the call to SkMatrix::toString(), which is deprecated.
This commit is contained in:
cary-clark 2018-05-31 09:55:57 -04:00 committed by Brian Osman
parent 8360553053
commit 89eb6a3745

View File

@ -73,9 +73,7 @@ std::ostream& operator<<(std::ostream& os, const SkPoint& r) {
}
std::ostream& operator<<(std::ostream& os, const flow::RasterCacheKey& k) {
SkString matrix_string;
k.matrix().toString(&matrix_string);
os << "Picture: " << k.picture_id() << " matrix: " << matrix_string.c_str();
os << "Picture: " << k.picture_id() << " matrix: " << k.matrix();
return os;
}