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

Unified Diff: include/core/SkBitmap.h

Issue 302053002: Revert of setConfig -> setInfo (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 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 | « gyp/skia_for_chromium_defines.gypi ('k') | 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 a6acb8713e4bc04aaac4cc565cb24d7249dd3330..b487285d9380915eedbb04c2f636585c373b09d5 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -276,13 +276,7 @@
kPremul_SkAlphaType);
}
- 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
+ bool setConfig(const SkImageInfo& info, size_t rowBytes = 0);
/**
* Allocate a pixelref to match the specified image info. If the Factory
« no previous file with comments | « gyp/skia_for_chromium_defines.gypi ('k') | src/core/SkBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698