Index: src/pdf/SkPDFShader.cpp |
diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp |
index 20df873cbd14b7ba60a7a252cab2d499cf3518e9..b20be99b0a1bf21fe78e1f4466fe9829a0f37837 100644 |
--- a/src/pdf/SkPDFShader.cpp |
+++ b/src/pdf/SkPDFShader.cpp |
@@ -510,11 +510,6 @@ private: |
SkPDFFunctionShader::SkPDFFunctionShader(SkPDFShader::State* state) |
: SkPDFDict("Pattern"), fShaderState(state) {} |
-void SkPDFFunctionShader::getResources(const SkTSet<SkPDFObject*>& known, |
- SkTSet<SkPDFObject*>* newr) { |
- GetResourcesHelper(&fResources, known, newr); |
-} |
- |
SkPDFFunctionShader::~SkPDFFunctionShader() { |
SkAutoMutexAcquire lock(SkPDFCanon::GetShaderMutex()); |
SkPDFCanon::GetCanon().removeFunctionShader(this); |
@@ -540,11 +535,6 @@ SkPDFAlphaFunctionShader::~SkPDFAlphaFunctionShader() { |
SkPDFCanon::GetCanon().removeAlphaShader(this); |
} |
-void SkPDFAlphaFunctionShader::getResources(const SkTSet<SkPDFObject*>& known, |
- SkTSet<SkPDFObject*>* newr) { |
- fResourceDict->getReferencedResources(known, newr, true); |
-} |
- |
//////////////////////////////////////////////////////////////////////////////// |
SkPDFImageShader::SkPDFImageShader(SkPDFShader::State* state) |
@@ -561,11 +551,6 @@ SkPDFImageShader::~SkPDFImageShader() { |
fResources.unrefAll(); |
} |
-void SkPDFImageShader::getResources(const SkTSet<SkPDFObject*>& known, |
- SkTSet<SkPDFObject*>* newr) { |
- GetResourcesHelper(&fResources.toArray(), known, newr); |
-} |
- |
//////////////////////////////////////////////////////////////////////////////// |
static SkPDFObject* get_pdf_shader_by_state( |
@@ -1129,10 +1114,6 @@ SkPDFImageShader* SkPDFImageShader::Create( |
SkNEW_ARGS(SkPDFImageShader, (autoState->detach())); |
imageShader->setData(content.get()); |
- SkPDFResourceDict* resourceDict = pattern.getResourceDict(); |
- resourceDict->getReferencedResources(imageShader->fResources, |
- &imageShader->fResources, false); |
- |
populate_tiling_pattern_dict(imageShader, patternBBox, |
pattern.getResourceDict(), finalMatrix); |