From 937d250db6ce907c903831e8ea6970d36cc19890 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 (flutter/engine#5427) This permits removing the call to SkMatrix::toString(), which is deprecated. --- engine/src/flutter/flow/debug_print.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/src/flutter/flow/debug_print.cc b/engine/src/flutter/flow/debug_print.cc index 6326153aaa..e2d7fc3f4c 100644 --- a/engine/src/flutter/flow/debug_print.cc +++ b/engine/src/flutter/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; }