diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 215ceeef4a..fcb118cee3 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -107,7 +107,7 @@ public: const SkBitmap& accessBitmap(bool changePixels); /** - * DEPRECATED: This will be made protected once WebKit stops using it. + * DEPRECATED: This will be made protected once WebKit stops using it. * Instead use Canvas' writePixels method. * * Similar to draw sprite, this method will copy the pixels in bitmap onto @@ -122,7 +122,7 @@ public: * not kARGB_8888_Config then this parameter is ignored. */ virtual void writePixels(const SkBitmap& bitmap, int x, int y, - SkCanvas::Config8888 config8888); + SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888); /** * Return the device's associated gpu render target, or NULL.