aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-30 17:34:29 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-30 17:34:29 +0000
commit057655589f20e0aacf371f291358c81bb66e2476 (patch)
tree4f07eaec095cff67b7285093e75a53f6f8042313 /include/core
parentffacd3c56d73c03d3fe53b47a49ea6be2ca4748f (diff)
Remove dead code and update a comment.
InlineFactoryNames_Flag is no longer used, so remove it and update the comment. Review URL: https://codereview.appspot.com/6492057 git-svn-id: http://skia.googlecode.com/svn/trunk@5348 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkFlattenableBuffers.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/core/SkFlattenableBuffers.h b/include/core/SkFlattenableBuffers.h
index 6137724333..763460b12f 100644
--- a/include/core/SkFlattenableBuffers.h
+++ b/include/core/SkFlattenableBuffers.h
@@ -154,11 +154,7 @@ public:
enum Flags {
kCrossProcess_Flag = 0x01,
- /**
- * Instructs the writer to inline Factory names as there are seen the
- * first time (after that we store an index). The pipe code uses this.
- */
- kInlineFactoryNames_Flag = 0x02,
+
/**
* Instructs the writer to always serialize bitmap pixel data.
*/
@@ -171,9 +167,6 @@ public:
bool isCrossProcess() const {
return SkToBool(fFlags & kCrossProcess_Flag);
}
- bool inlineFactoryNames() const {
- return SkToBool(fFlags & kInlineFactoryNames_Flag);
- }
bool persistBitmapPixels() const {
return (fFlags & (kCrossProcess_Flag | kForceFlattenBitmapPixels_Flag)) != 0;