diff options
author | 2013-05-21 20:38:40 +0000 | |
---|---|---|
committer | 2013-05-21 20:38:40 +0000 | |
commit | 61d6c9ef8fa1f650722e13d35a9d4d490ffa24b4 (patch) | |
tree | a8fba9ac5aa3dd9b4320197907e1c0d79c0afc90 /src/core/SkBitmap.cpp | |
parent | 1b1bcc3ceac9b4adbb4de68429903a5f721ffe62 (diff) |
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
Diffstat (limited to 'src/core/SkBitmap.cpp')
-rw-r--r-- | src/core/SkBitmap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ -867,6 +867,8 @@ static size_t get_sub_offset(const SkBitmap& bm, int x, int y) { * 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); if (0 == offset) { |