aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf
diff options
context:
space:
mode:
authorGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-18 18:40:32 +0000
committerGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-18 18:40:32 +0000
commitb88cfe58e117ffe781e4ce2cba73cc4f7a795de7 (patch)
tree5aa8cdd2417c77f2d50bd93699d2214a21da31db /include/pdf
parentf204d68c39bfcaaef892bd568d18de2d4ee662d2 (diff)
[PDF] Make color shaders work correctly.
Make SkPDFShader correctly bail out for color shaders. Fix the bail out handling code. Review URL: http://codereview.appspot.com/4750045 git-svn-id: http://skia.googlecode.com/svn/trunk@1886 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf')
-rw-r--r--include/pdf/SkPDFShader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pdf/SkPDFShader.h b/include/pdf/SkPDFShader.h
index 17f7f03316..0d7f685a63 100644
--- a/include/pdf/SkPDFShader.h
+++ b/include/pdf/SkPDFShader.h
@@ -95,8 +95,8 @@ private:
}
};
// This should be made a hash table if performance is a problem.
- static SkTDArray<ShaderCanonicalEntry>& canonicalShaders();
- static SkMutex& canonicalShadersMutex();
+ static SkTDArray<ShaderCanonicalEntry>& CanonicalShaders();
+ static SkMutex& CanonicalShadersMutex();
static SkPDFObject* rangeObject();