aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFFont.cpp
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/SkPDFFont.cpp
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/SkPDFFont.cpp')
-rw-r--r--src/pdf/SkPDFFont.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
index 3c5739cb71..08c1289ce3 100644
--- a/src/pdf/SkPDFFont.cpp
+++ b/src/pdf/SkPDFFont.cpp
@@ -1099,10 +1099,9 @@ SkPDFFont* SkPDFType0Font::getFontSubset(const SkPDFGlyphSet* subset) {
}
#ifdef SK_DEBUG
-void SkPDFType0Font::emitObject(SkWStream* stream, SkPDFCatalog* catalog,
- bool indirect) {
+void SkPDFType0Font::emitObject(SkWStream* stream, SkPDFCatalog* catalog) {
SkASSERT(fPopulated);
- return INHERITED::emitObject(stream, catalog, indirect);
+ return INHERITED::emitObject(stream, catalog);
}
#endif