From e5ea500d4714a7d84de2bf913e81be3b65d2de68 Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 3 Sep 2014 11:54:58 -0700 Subject: Hide fields in SkImageInfo R=rmistry@google.com TBR=bsalomon Author: reed@google.com Review URL: https://codereview.chromium.org/536003002 --- src/utils/debugger/SkDebugCanvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/debugger') diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h index 2e9a032e4e..4bb33b7475 100644 --- a/src/utils/debugger/SkDebugCanvas.h +++ b/src/utils/debugger/SkDebugCanvas.h @@ -210,8 +210,8 @@ public: virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE { if (NULL != bounds) { bounds->setXYWH(0, 0, - SkIntToScalar(this->imageInfo().fWidth), - SkIntToScalar(this->imageInfo().fHeight)); + SkIntToScalar(this->imageInfo().width()), + SkIntToScalar(this->imageInfo().height())); } return true; } -- cgit v1.2.3