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

Unified Diff: include/core/SkBitmap.h

Issue 93703004: Change SkDecodingImageGenerator API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase, comments 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: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index c0e299ab94ba8bc3c3caeefb3796b4d24e12de5a..7bd21126dcbdf4fc5e4c90bfa140d54eb3c0503c 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -219,6 +219,8 @@ public:
static Sk64 ComputeSize64(Config, int width, int height);
static size_t ComputeSize(Config, int width, int height);
+ static Sk64 ComputeSize64(const SkImageInfo& info);
+ static size_t ComputeSize(const SkImageInfo& info);
/**
* This will brute-force return true if all of the pixels in the bitmap
« no previous file with comments | « gm/factory.cpp ('k') | include/core/SkImageGenerator.h » ('j') | src/core/SkBitmap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698