From 89eb6a374578286b5649b957f39732a6764bfad9 Mon Sep 17 00:00:00 2001 From: cary-clark Date: Thu, 31 May 2018 09:55:57 -0400 Subject: [PATCH] call existing ostream operator for SkMatrix (#5427) This permits removing the call to SkMatrix::toString(), which is deprecated. --- flow/debug_print.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flow/debug_print.cc b/flow/debug_print.cc index 6326153aaa7..e2d7fc3f4c8 100644 --- a/flow/debug_print.cc +++ b/flow/debug_print.cc @@ -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; }