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

Unified Diff: core/fxcrt/fx_xml_composer.cpp

Issue 1857713003: Rename GetCStr and GetPtr to match CFX_ByteString (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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/fxcrt/fx_xml_composer.cpp
diff --git a/core/fxcrt/fx_xml_composer.cpp b/core/fxcrt/fx_xml_composer.cpp
index 1af6952fdb9d34b8858ad770528657e793fef650..576ff95432279ae0f5989f169e734efad8808f8a 100644
--- a/core/fxcrt/fx_xml_composer.cpp
+++ b/core/fxcrt/fx_xml_composer.cpp
@@ -23,9 +23,9 @@ void FX_XML_SplitQualifiedName(const CFX_ByteStringC& bsFullName,
if (iStart >= bsFullName.GetLength()) {
bsName = bsFullName;
} else {
- bsSpace = CFX_ByteStringC(bsFullName.GetCStr(), iStart);
+ bsSpace = CFX_ByteStringC(bsFullName.c_str(), iStart);
iStart++;
- bsName = CFX_ByteStringC(bsFullName.GetCStr() + iStart,
+ bsName = CFX_ByteStringC(bsFullName.c_str() + iStart,
bsFullName.GetLength() - iStart);
}
}

Powered by Google App Engine
This is Rietveld 408576698