| Index: src/pdf/SkPDFTypes.h
|
| diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h
|
| index 0a16bf90799adad4c1c33c555ef23fcef928d665..dca96e4596257dbe6e0d5b08db8da992e8755e78 100644
|
| --- a/src/pdf/SkPDFTypes.h
|
| +++ b/src/pdf/SkPDFTypes.h
|
| @@ -173,13 +173,6 @@ public:
|
| explicit SkPDFString(const char value[]);
|
| explicit SkPDFString(const SkString& value);
|
|
|
| - /** Create a PDF string. Maximum length (in bytes) is 65,535.
|
| - * @param value A string value.
|
| - * @param len The length of value.
|
| - * @param wideChars Indicates if the top byte in value is significant and
|
| - * should be encoded (true) or not (false).
|
| - */
|
| - SkPDFString(const uint16_t* value, size_t len, bool wideChars);
|
| virtual ~SkPDFString();
|
|
|
| // The SkPDFObject interface.
|
| @@ -188,16 +181,11 @@ public:
|
| const SkPDFSubstituteMap& substitutes) override;
|
|
|
| static SkString FormatString(const char* input, size_t len);
|
| - static SkString FormatString(const uint16_t* input, size_t len,
|
| - bool wideChars);
|
| private:
|
| static const size_t kMaxLen = 65535;
|
|
|
| const SkString fValue;
|
|
|
| - static SkString DoFormatString(const void* input, size_t len,
|
| - bool wideInput, bool wideOutput);
|
| -
|
| typedef SkPDFObject INHERITED;
|
| };
|
|
|
|
|