Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Unified Diff: skia/ext/bitmap_platform_device_win.cc

Issue 110353006: Roll Skia DEPS to r12910 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698