From f47d8ca1c22207d5d2d0d34724bcc41ae72bbc1a Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 2 Jul 2014 15:56:30 +0000 Subject: setConfig is deprecated, use setInfo or allocPixels instead. kPNColor_SkColorType is now kN32_SkColorType TBR= BUG=skia:2706 Review URL: https://codereview.chromium.org/363933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281044 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/ext/bitmap_platform_device_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skia/ext/bitmap_platform_device_win.cc') diff --git a/skia/ext/bitmap_platform_device_win.cc b/skia/ext/bitmap_platform_device_win.cc index f526488..e10a6de 100644 --- a/skia/ext/bitmap_platform_device_win.cc +++ b/skia/ext/bitmap_platform_device_win.cc @@ -272,7 +272,7 @@ const SkBitmap& BitmapPlatformDevice::onAccessBitmap() { SkBaseDevice* BitmapPlatformDevice::onCreateDevice(const SkImageInfo& info, Usage /*usage*/) { - SkASSERT(info.colorType() == kPMColor_SkColorType); + SkASSERT(info.colorType() == kN32_SkColorType); return BitmapPlatformDevice::CreateAndClear(info.width(), info.height(), info.isOpaque()); } -- cgit v1.1