Index: core/fpdfapi/fpdf_page/cpdf_page.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_page.cpp b/core/fpdfapi/fpdf_page/cpdf_page.cpp |
index 289ef717c435db5dfe6e69456b5a7bca697c258b..b9931713c4368b1331fe94135c0afc73efe1b9ec 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_page.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_page.cpp |
@@ -106,10 +106,10 @@ CPDF_Object* CPDF_Page::GetPageAttr(const CFX_ByteString& name) const { |
std::set<CPDF_Dictionary*> visited; |
while (1) { |
visited.insert(pPageDict); |
- if (CPDF_Object* pObj = pPageDict->GetDirectObjectBy(name)) |
+ if (CPDF_Object* pObj = pPageDict->GetDirectObjectFor(name)) |
return pObj; |
- pPageDict = pPageDict->GetDictBy("Parent"); |
+ pPageDict = pPageDict->GetDictFor("Parent"); |
if (!pPageDict || pdfium::ContainsKey(visited, pPageDict)) |
break; |
} |