| Index: 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 48329e24ba0110d155bc1fb0f714f54f30d44388..389e1d592271861671b892cab7d0e2a12033bcae 100644
|
| --- a/skia/ext/bitmap_platform_device_win.cc
|
| +++ b/skia/ext/bitmap_platform_device_win.cc
|
| @@ -124,7 +124,7 @@ PlatformBitmapPixelRef::PlatformBitmapPixelRef(const SkImageInfo& info,
|
| : SkPixelRef(info),
|
| bitmap_handle_(bitmap_handle),
|
| pixels_(pixels) {
|
| - setPreLocked(pixels, NULL);
|
| + setPreLocked(pixels, info.minRowBytes(), NULL);
|
| }
|
|
|
| PlatformBitmapPixelRef::~PlatformBitmapPixelRef() {
|
|
|