Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1006)

Unified Diff: core/fpdfapi/fpdf_parser/cpdf_name.cpp

Issue 1890973006: Avoid narrowing to StringC in CPDF_Name and CPDF_NameTree (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Missing !, use initializer list. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/fpdfapi/fpdf_parser/cpdf_name.cpp
diff --git a/core/fpdfapi/fpdf_parser/cpdf_name.cpp b/core/fpdfapi/fpdf_parser/cpdf_name.cpp
index 2999772aecdbab1d1ae61222b285b364416aa6f0..7d67b51d7c90c063fdc564298f80e58a53514c29 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_name.cpp
+++ b/core/fpdfapi/fpdf_parser/cpdf_name.cpp
@@ -10,10 +10,6 @@
CPDF_Name::CPDF_Name(const CFX_ByteString& str) : m_Name(str) {}
-CPDF_Name::CPDF_Name(const CFX_ByteStringC& str) : m_Name(str) {}
-
-CPDF_Name::CPDF_Name(const FX_CHAR* str) : m_Name(str) {}
-
CPDF_Name::~CPDF_Name() {}
CPDF_Object::Type CPDF_Name::GetType() const {
« no previous file with comments | « core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h ('k') | core/fpdfapi/fpdf_parser/include/cpdf_name.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698