Index: src/pdf/SkPDFTypes.h |
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h |
index 3df2e23766198d9a935cdb4a879cbf5d16565c6e..23a30b9a2b21c6460206e8e94e9fc07185bfad1e 100644 |
--- a/src/pdf/SkPDFTypes.h |
+++ b/src/pdf/SkPDFTypes.h |
@@ -40,7 +40,7 @@ public: |
// TODO(halcanary): make this method const |
virtual void emitObject(SkWStream* stream, |
const SkPDFObjNumMap& objNumMap, |
- const SkPDFSubstituteMap& substitutes) = 0; |
+ const SkPDFSubstituteMap& substitutes) const = 0; |
/** |
* Adds all transitive dependencies of this object to the |
@@ -200,7 +200,7 @@ public: |
// The SkPDFObject interface. |
void emitObject(SkWStream* stream, |
const SkPDFObjNumMap& objNumMap, |
- const SkPDFSubstituteMap& substitutes) override; |
+ const SkPDFSubstituteMap& substitutes) const override; |
void addResources(SkPDFObjNumMap*, |
const SkPDFSubstituteMap&) const override; |
@@ -255,7 +255,7 @@ public: |
// The SkPDFObject interface. |
void emitObject(SkWStream* stream, |
const SkPDFObjNumMap& objNumMap, |
- const SkPDFSubstituteMap& substitutes) override; |
+ const SkPDFSubstituteMap& substitutes) const override; |
void addResources(SkPDFObjNumMap*, |
const SkPDFSubstituteMap&) const override; |