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

Unified Diff: core/fxcrt/include/fx_xml.h

Issue 1841173002: Rename GetElementValue() to GetDirectObject{By,At}(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Use "At" for arrays. Created 4 years, 9 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/include/fx_xml.h
diff --git a/core/fxcrt/include/fx_xml.h b/core/fxcrt/include/fx_xml.h
index 3e22883c7fa9163bdafeb35ac5acac086f418710..39781f44f6e7fcafba3128e121e625c3efafe862 100644
--- a/core/fxcrt/include/fx_xml.h
+++ b/core/fxcrt/include/fx_xml.h
@@ -132,17 +132,17 @@ class CXML_Element {
uint32_t CountChildren() const { return m_Children.size(); }
ChildType GetChildType(uint32_t index) const;
CFX_WideString GetContent(uint32_t index) const;
- CXML_Element* GetElement(uint32_t index) const;
- CXML_Element* GetElement(const CFX_ByteStringC& space,
- const CFX_ByteStringC& tag) const {
- return GetElement(space, tag, 0);
+ CXML_Element* GetObjectBy(uint32_t index) const;
+ CXML_Element* GetObjectBy(const CFX_ByteStringC& space,
+ const CFX_ByteStringC& tag) const {
+ return GetObjectBy(space, tag, 0);
}
uint32_t CountElements(const CFX_ByteStringC& space,
const CFX_ByteStringC& tag) const;
- CXML_Element* GetElement(const CFX_ByteStringC& space,
- const CFX_ByteStringC& tag,
- int index) const;
+ CXML_Element* GetObjectBy(const CFX_ByteStringC& space,
+ const CFX_ByteStringC& tag,
+ int index) const;
uint32_t FindElement(CXML_Element* pChild) const;
void SetTag(const CFX_ByteStringC& qSpace, const CFX_ByteStringC& tagname);

Powered by Google App Engine
This is Rietveld 408576698