Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 364a1cd64f38d6d977a4972e42c7a36ab15368fe..06ffcb0f6977a0086661b67e807952dc644064c2 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -621,7 +621,7 @@ public: |
bool extractSubset(SkBitmap* dst, const SkIRect& subset) const; |
#ifdef SK_SUPPORT_LEGACY_COPYTO_CONFIG |
- bool copyTo(SkBitmap* dst, Config c, Allocator* allocator) const; |
+ bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const; |
bool canCopyTo(Config newConfig) const; |
#endif |
/** Makes a deep copy of this bitmap, respecting the requested colorType, |