aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFShader.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-01-23 07:22:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-23 07:22:58 -0800
commit8de56326e3aa3b8780ccf2949c3f5a82a9882bbf (patch)
treeff64aaeb9a74bb847461c9dbdb6cc16b3d2aefbd /src/pdf/SkPDFShader.cpp
parentc2f35b750a57d7dc0b8053a98279631d1ccb9b56 (diff)
minor changes left out of http://crrev.com/873543002
TBR=mtklein@google.com Review URL: https://codereview.chromium.org/872643005
Diffstat (limited to 'src/pdf/SkPDFShader.cpp')
-rw-r--r--src/pdf/SkPDFShader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp
index a678ae678c..20df873cbd 100644
--- a/src/pdf/SkPDFShader.cpp
+++ b/src/pdf/SkPDFShader.cpp
@@ -661,7 +661,7 @@ static SkStream* create_pattern_fill_content(int gsIndex, SkRect& bounds) {
* Creates a ExtGState with the SMask set to the luminosityShader in
* luminosity mode. The shader pattern extends to the bbox.
*/
-static SkPDFGraphicState* createsmask_graphic_state(
+static SkPDFGraphicState* create_smask_graphic_state(
const SkPDFShader::State& state) {
SkRect bbox;
bbox.set(state.fBBox);
@@ -699,7 +699,7 @@ SkPDFAlphaFunctionShader* SkPDFAlphaFunctionShader::Create(
// Create resource dict with alpha graphics state as G0 and
// pattern shader as P0, then write content stream.
- SkAutoTUnref<SkPDFGraphicState> alphaGs(createsmask_graphic_state(state));
+ SkAutoTUnref<SkPDFGraphicState> alphaGs(create_smask_graphic_state(state));
SkPDFAlphaFunctionShader* alphaFunctionShader =
SkNEW_ARGS(SkPDFAlphaFunctionShader, (autoState->detach()));