From 081560e3abe25c4821b79ca1465f4dbd371c4b5c Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 31 Oct 2013 16:24:08 +0000 Subject: add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning BUG= R=robertphillips@google.com, senorblanco@chromium.org, vandebo@chromium.org Review URL: https://codereview.chromium.org/51033004 git-svn-id: http://skia.googlecode.com/svn/trunk@12055 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/ninepatchstretch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/ninepatchstretch.cpp') diff --git a/gm/ninepatchstretch.cpp b/gm/ninepatchstretch.cpp index 551f020625..bc6f13da25 100644 --- a/gm/ninepatchstretch.cpp +++ b/gm/ninepatchstretch.cpp @@ -93,7 +93,7 @@ protected: SkScalar y = SkIntToScalar(100); SkPaint paint; - paint.setFilterBitmap(true); + paint.setFilterLevel(SkPaint::kLow_FilterLevel); for (int iy = 0; iy < 2; ++iy) { for (int ix = 0; ix < 2; ++ix) { -- cgit v1.2.3