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

Unified Diff: include/core/SkImageInfo.h

Issue 1258963005: remove now-dead flags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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_android_framework_defines.gypi ('k') | include/core/SkScalar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageInfo.h
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
index aa183cf314fb112d45794fa273196b7c63143eb4..459a0ee43ef0001530a0bff6f36d9b670dfbee7e 100644
--- a/include/core/SkImageInfo.h
+++ b/include/core/SkImageInfo.h
@@ -299,17 +299,13 @@ public:
SkDEBUGCODE(void validate() const;)
-#ifdef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
-public:
-#else
private:
-#endif
int fWidth;
int fHeight;
SkColorType fColorType;
SkAlphaType fAlphaType;
+ SkColorProfileType fProfileType;
-private:
SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, SkColorProfileType pt)
: fWidth(width)
, fHeight(height)
@@ -317,8 +313,6 @@ private:
, fAlphaType(at)
, fProfileType(pt)
{}
-
- SkColorProfileType fProfileType;
};
#endif
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/core/SkScalar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698