From 9a2d4e74b7837748474d6a4fa7b9edc584044338 Mon Sep 17 00:00:00 2001 From: Matt Sarett Date: Mon, 7 Nov 2016 15:53:46 -0500 Subject: [PATCH] Remove fAsset->read() debug statement This shows up in the Skia logs constantly and does not provide useful information. Test: This no longer prints. BUG:32370375 Change-Id: Ic8308d41826cb27de77b019fdc59e434086c8009 --- core/jni/android/graphics/Utils.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/jni/android/graphics/Utils.cpp b/core/jni/android/graphics/Utils.cpp index 899c2daf8bfce..8934c1e50aba1 100644 --- a/core/jni/android/graphics/Utils.cpp +++ b/core/jni/android/graphics/Utils.cpp @@ -72,9 +72,6 @@ size_t AssetStreamAdaptor::read(void* buffer, size_t size) { amount = newOffset - oldOffset; } else { amount = fAsset->read(buffer, size); - if (amount <= 0) { - SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount); - } } if (amount < 0) {