summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_win.cc
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 15:56:30 +0000
committerreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 15:56:30 +0000
commitf47d8ca1c22207d5d2d0d34724bcc41ae72bbc1a (patch)
tree51804fd4f5ae58849e8224350263392662a67439 /skia/ext/bitmap_platform_device_win.cc
parent5ba847593e0009ed9e40be8fc9adfc1ffda93310 (diff)
downloadchromium_src-f47d8ca1c22207d5d2d0d34724bcc41ae72bbc1a.zip
chromium_src-f47d8ca1c22207d5d2d0d34724bcc41ae72bbc1a.tar.gz
chromium_src-f47d8ca1c22207d5d2d0d34724bcc41ae72bbc1a.tar.bz2
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
Diffstat (limited to 'skia/ext/bitmap_platform_device_win.cc')
-rw-r--r--skia/ext/bitmap_platform_device_win.cc2
1 files changed, 1 insertions, 1 deletions
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());
}