Add default param to SkDevice::writePixels b/c WK is relying on old signature. (Function will be made protected once WK calls the Canvas version)




git-svn-id: http://skia.googlecode.com/svn/trunk@2666 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 215ceee..fcb118c 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -107,7 +107,7 @@
     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 @@
      *  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.