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

Unified Diff: src/pdf/SkPDFGraphicState.cpp

Issue 1049753002: SkPDF: Factor SkPDFCatalog into SkPDFObjNumMap and SkPDFSubstituteMap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: full Created 5 years, 9 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
Index: src/pdf/SkPDFGraphicState.cpp
diff --git a/src/pdf/SkPDFGraphicState.cpp b/src/pdf/SkPDFGraphicState.cpp
index 09545d1356da4c6085f385e478148d161caf959b..6922b08e9efcb3e3b12a37da0177f45aec76628d 100644
--- a/src/pdf/SkPDFGraphicState.cpp
+++ b/src/pdf/SkPDFGraphicState.cpp
@@ -114,9 +114,11 @@ bool SkPDFGraphicState::equals(const SkPaint& paint) const {
SkPDFGraphicState::~SkPDFGraphicState() {}
-void SkPDFGraphicState::emitObject(SkWStream* stream, SkPDFCatalog* catalog) {
+void SkPDFGraphicState::emitObject(SkWStream* stream,
+ const SkPDFObjNumMap& objNumMap,
+ const SkPDFSubstituteMap& substitutes) {
populateDict();
- SkPDFDict::emitObject(stream, catalog);
+ SkPDFDict::emitObject(stream, objNumMap, substitutes);
}
// static
« no previous file with comments | « src/pdf/SkPDFGraphicState.h ('k') | src/pdf/SkPDFShader.cpp » ('j') | src/pdf/SkPDFStream.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698