mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
call existing ostream operator for SkMatrix (#5427)
This permits removing the call to SkMatrix::toString(), which is deprecated.
This commit is contained in:
parent
8360553053
commit
89eb6a3745
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user