Index: pdf/document_loader.cc |
diff --git a/pdf/document_loader.cc b/pdf/document_loader.cc |
index 48d8352ea0f9535d0ac2fde9e3a565b5726b1a3e..f696656058eb889c7fe73240892f1f07d0c557a7 100644 |
--- a/pdf/document_loader.cc |
+++ b/pdf/document_loader.cc |
@@ -68,12 +68,12 @@ std::string GetMultiPartBoundary(const std::string& headers) { |
} |
bool IsValidContentType(const std::string& type) { |
- return (EndsWith(type, "/pdf", false) || |
- EndsWith(type, ".pdf", false) || |
- EndsWith(type, "/x-pdf", false) || |
- EndsWith(type, "/*", false) || |
- EndsWith(type, "/acrobat", false) || |
- EndsWith(type, "/unknown", false)); |
+ return (base::EndsWith(type, "/pdf", false) || |
+ base::EndsWith(type, ".pdf", false) || |
+ base::EndsWith(type, "/x-pdf", false) || |
+ base::EndsWith(type, "/*", false) || |
+ base::EndsWith(type, "/acrobat", false) || |
+ base::EndsWith(type, "/unknown", false)); |
} |
} // namespace |