diff options
author | tsepez <tsepez@chromium.org> | 2016-04-15 14:32:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 14:32:49 -0700 |
commit | e0ad6a4af5d9c5f5671a9ecd0aa437dedae52b16 (patch) | |
tree | 9d620999954853fe7512db8e699cf77537c3ba05 /core/fpdfapi/fpdf_edit/include | |
parent | 7cf555202756c51ce2b5ae18efdeb6e1bb6a9e41 (diff) | |
download | pdfium-e0ad6a4af5d9c5f5671a9ecd0aa437dedae52b16.tar.xz |
Avoid narrowing to StringC in CPDF_Name and CPDF_NameTree
Remove redundant CPDF_Name constructors given promotion rules.
Rework one char* in CPDF_PageContentGenerator.
Review URL: https://codereview.chromium.org/1890973006
Diffstat (limited to 'core/fpdfapi/fpdf_edit/include')
-rw-r--r-- | core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h b/core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h index 564a9ff54c..f60b083be1 100644 --- a/core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h +++ b/core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h @@ -32,7 +32,7 @@ class CPDF_PageContentGenerator { uint32_t size, CFX_Matrix& matrix); CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, - const FX_CHAR* szType); + const CFX_ByteString& bsType); CPDF_Page* m_pPage; CPDF_Document* m_pDocument; |