minor changes left out of http://crrev.com/873543002
TBR=mtklein@google.com
Review URL: https://codereview.chromium.org/872643005
diff --git a/src/pdf/SkPDFCanon.cpp b/src/pdf/SkPDFCanon.cpp
index bea1400..6b52018 100644
--- a/src/pdf/SkPDFCanon.cpp
+++ b/src/pdf/SkPDFCanon.cpp
@@ -39,7 +39,6 @@
template <class T> T* assert_ptr(T* p) { SkASSERT(p); return p; }
-// TODO(halcanary): add this method to SkTDArray.
template <typename T>
bool remove_item(SkTDArray<T>* array, const T& elem) {
int i = array->find(elem);
diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp
index a678ae6..20df873 100644
--- a/src/pdf/SkPDFShader.cpp
+++ b/src/pdf/SkPDFShader.cpp
@@ -661,7 +661,7 @@
* 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 @@
// 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()));