From c2379070a46f208bce490b938e0673ba00373e2e Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 11 Dec 2014 14:29:51 -0800 Subject: Correct layer size formatting in trace bug:18722704 Change-Id: Icef9aaa62633b2d86ad250f43d4c8fa5cc0b6842 --- libs/hwui/RenderNode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index 810e487..787ee62 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -429,9 +429,9 @@ void RenderNode::setViewProperties(OpenGLRenderer& renderer, T& handler) { clipFlags = 0; // all clipping done by saveLayer } - ATRACE_FORMAT("%s alpha caused %ssaveLayer %ux%u", + ATRACE_FORMAT("%s alpha caused %ssaveLayer %dx%d", getName(), clipFlags ? "" : "unclipped ", - layerBounds.getWidth(), layerBounds.getHeight()); + (int)layerBounds.getWidth(), (int)layerBounds.getHeight()); SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( layerBounds.left, layerBounds.top, layerBounds.right, layerBounds.bottom, -- cgit v1.1