Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 87555a8111ed622661a20a7dd13d3a08a7897ea7..ced075ebf932fb2713e88ff9254a19f3db0c997b 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -1569,8 +1569,7 @@ void SkPDFDevice::drawFormXObjectWithMask(int xObjectIndex, |
return; |
} |
- SkAutoTUnref<SkPDFGraphicState> sMaskGS( |
- SkPDFGraphicState::GetSMaskGraphicState( |
+ SkAutoTUnref<SkPDFObject> sMaskGS(SkPDFGraphicState::GetSMaskGraphicState( |
mask, invertClip, SkPDFGraphicState::kAlpha_SMaskMode)); |
SkMatrix identity; |
@@ -1941,7 +1940,7 @@ void SkPDFDevice::populateGraphicStateEntryFromPaint( |
} |
} |
-int SkPDFDevice::addGraphicStateResource(SkPDFGraphicState* gs) { |
+int SkPDFDevice::addGraphicStateResource(SkPDFObject* gs) { |
// Assumes that gs has been canonicalized (so we can directly compare |
// pointers). |
int result = fGraphicStateResources.find(gs); |