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 --- experimental/PdfViewer/SkNulCanvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'experimental/PdfViewer/SkNulCanvas.h') diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h index 2427c4c95b..49d276dfa7 100644 --- a/experimental/PdfViewer/SkNulCanvas.h +++ b/experimental/PdfViewer/SkNulCanvas.h @@ -62,8 +62,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