aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFGraphicState.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-01-12 10:07:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-12 10:07:50 -0800
commit4fc48af0d7bec93a911d32330f251386a8adec98 (patch)
tree5f7335bed00f121fade421297dd117c8bebc2037 /src/pdf/SkPDFGraphicState.h
parent0899696e9fec7d376b63655bedaed76871cb15c2 (diff)
Change function signature of SkPDFObject::emitObject.
Replace virutal SkPDFObject::emitObject(s, c, true) with non-virtual SkPDFObject::emitIndirectObject(s, c), since none of the subclasses do (or should do) anything different. Replace object->emitObject(s, c, false) with object->emitObject(s, c) This is one step in simplifying the SkPDFObject interface to allow for the next step in refactoring. Review URL: https://codereview.chromium.org/827733004
Diffstat (limited to 'src/pdf/SkPDFGraphicState.h')
-rw-r--r--src/pdf/SkPDFGraphicState.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pdf/SkPDFGraphicState.h b/src/pdf/SkPDFGraphicState.h
index 9182efeffb..28686e37be 100644
--- a/src/pdf/SkPDFGraphicState.h
+++ b/src/pdf/SkPDFGraphicState.h
@@ -41,8 +41,7 @@ public:
// Override emitObject and getOutputSize so that we can populate
// the dictionary on demand.
- virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog,
- bool indirect);
+ virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog);
virtual size_t getOutputSize(SkPDFCatalog* catalog, bool indirect);
/** Get the graphic state for the passed SkPaint. The reference count of