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

Unified Diff: src/lazy/SkBitmapFactory.cpp

Issue 68973005: Expand pixelref to return SkImageInfo and rowbytes (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: new convention: require SkImageInfo in constructor Created 7 years 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
Index: src/lazy/SkBitmapFactory.cpp
diff --git a/src/lazy/SkBitmapFactory.cpp b/src/lazy/SkBitmapFactory.cpp
index 1bbb6f0de7d7dc53dfb192ed4d7325f6134c048e..28a87c32f9077542e1f46409cbd7e76d4893b773 100644
--- a/src/lazy/SkBitmapFactory.cpp
+++ b/src/lazy/SkBitmapFactory.cpp
@@ -69,7 +69,7 @@ bool SkBitmapFactory::installPixelRef(SkData* data, SkBitmap* dst) {
if (cache != NULL) {
// Now set a new LazyPixelRef on dst.
SkAutoTUnref<SkLazyPixelRef> lazyRef(SkNEW_ARGS(SkLazyPixelRef,
- (data, fDecodeProc, cache)));
+ (info, data, fDecodeProc, cache)));
dst->setPixelRef(lazyRef);
return true;
} else {

Powered by Google App Engine
This is Rietveld 408576698