Index: core/fpdfapi/parser/cpdf_parser_unittest.cpp |
diff --git a/core/fpdfapi/parser/cpdf_parser_unittest.cpp b/core/fpdfapi/parser/cpdf_parser_unittest.cpp |
index 7148c54f30d55649cad324ff4a382df7b0a826e4..0a70103d3a2b417863904ef954efda39f6d519dd 100644 |
--- a/core/fpdfapi/parser/cpdf_parser_unittest.cpp |
+++ b/core/fpdfapi/parser/cpdf_parser_unittest.cpp |
@@ -45,7 +45,8 @@ class CPDF_TestParser : public CPDF_Parser { |
// Setup reading from a file and initial states. |
bool InitTestFromFile(const FX_CHAR* path) { |
- IFX_SeekableReadStream* pFileAccess = FX_CreateFileRead(path); |
+ IFX_SeekableReadStream* pFileAccess = |
+ IFX_SeekableReadStream::CreateFromFilename(path); |
if (!pFileAccess) |
return false; |