call existing ostream operator for SkMatrix (flutter/engine#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 63e41544ec
commit 937d250db6

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;
}