Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: include/core/SkBitmap.h

Issue 178003002: Fix compile errors in legacy copyTo(). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkBitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | src/core/SkBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698