Add prototype for warning.
Fixes build. Review URL: https://codereview.chromium.org/15536007 git-svn-id: http://skia.googlecode.com/svn/trunk@9227 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1b1bcc3cea
commit
61d6c9ef8f
@ -866,6 +866,8 @@ static size_t get_sub_offset(const SkBitmap& bm, int x, int y) {
|
||||
* upper left corner of bm relative to its SkPixelRef.
|
||||
* x and y must be non-NULL.
|
||||
*/
|
||||
bool get_upper_left_from_offset(SkBitmap::Config config, size_t offset, size_t rowBytes,
|
||||
int32_t* x, int32_t* y);
|
||||
bool get_upper_left_from_offset(SkBitmap::Config config, size_t offset, size_t rowBytes,
|
||||
int32_t* x, int32_t* y) {
|
||||
SkASSERT(x != NULL && y != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user