setConfig -> setInfo
BUG=skia:
R=robertphillips@google.com
Author: reed@google.com
Review URL: https://codereview.chromium.org/308683005
git-svn-id: http://skia.googlecode.com/svn/trunk/include@14978 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkBitmap.h b/core/SkBitmap.h
index b487285..a6acb87 100644
--- a/core/SkBitmap.h
+++ b/core/SkBitmap.h
@@ -276,7 +276,13 @@
kPremul_SkAlphaType);
}
- bool setConfig(const SkImageInfo& info, size_t rowBytes = 0);
+ bool setInfo(const SkImageInfo&, size_t rowBytes = 0);
+
+#ifdef SK_SUPPORT_LEGACY_SETCONFIG_INFO
+ bool setConfig(const SkImageInfo& info, size_t rowBytes = 0) {
+ return this->setInfo(info, rowBytes);
+ }
+#endif
/**
* Allocate a pixelref to match the specified image info. If the Factory