diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp index a258087a7e..122996a312 100644 --- a/src/core/SkBitmap.cpp +++ b/src/core/SkBitmap.cpp @@ -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);