From a8c183125f2861067daf432cada06d431a795cd0 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 17 Feb 2014 02:55:57 +0000 Subject: use SkColorType instead of SkBitmap::Config in samplecode BUG=skia: R=reed@google.com Author: reed@chromium.org Review URL: https://codereview.chromium.org/169063002 git-svn-id: http://skia.googlecode.com/svn/trunk@13473 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleTextAlpha.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samplecode/SampleTextAlpha.cpp') diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp index 83616f4260..2732452c82 100644 --- a/samplecode/SampleTextAlpha.cpp +++ b/samplecode/SampleTextAlpha.cpp @@ -29,7 +29,7 @@ #include "SkStream.h" static void check_for_nonwhite(const SkBitmap& bm, int alpha) { - if (bm.config() != SkBitmap::kRGB_565_Config) { + if (bm.colorType() != kRGB_565_SkColorType) { return; } -- cgit v1.2.3