aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_tool_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r--tools/sk_tool_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index a1b5b7fe37..6c1adf8e26 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -70,10 +70,11 @@ namespace sk_tool_utils {
void release_portable_typefaces();
/**
- * Call canvas->writePixels() by using the pixels from bitmap, but with an info that claims
+ * Call writePixels() by using the pixels from bitmap, but with an info that claims
* the pixels are colorType + alphaType
*/
void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
+ void write_pixels(SkSurface*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
/**
* Returns true iff all of the pixels between the two images differ by <= the maxDiff value