Index: core/fpdfdoc/cpdf_metadata.cpp |
diff --git a/core/fpdfdoc/cpdf_metadata.cpp b/core/fpdfdoc/cpdf_metadata.cpp |
index b53da07652f2591ef58c841a13f0ca595b0e3515..ee6647f07f966b78c49da7a5a68749e923bbc7ad 100644 |
--- a/core/fpdfdoc/cpdf_metadata.cpp |
+++ b/core/fpdfdoc/cpdf_metadata.cpp |
@@ -16,7 +16,7 @@ CPDF_Metadata::CPDF_Metadata(CPDF_Document* pDoc) { |
if (!pRoot) |
return; |
- CPDF_Stream* pStream = pRoot->GetStreamBy("Metadata"); |
+ CPDF_Stream* pStream = pRoot->GetStreamFor("Metadata"); |
if (!pStream) |
return; |