Index: chrome/browser/extensions/extension_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc |
index cfad60e49fe7db51c70cbae3a6627dd6766d4360..4d26d3b4b0b86c3897e54e61cdb1c4390b9b9f1f 100644 |
--- a/chrome/browser/extensions/extension_browsertest.cc |
+++ b/chrome/browser/extensions/extension_browsertest.cc |
@@ -86,8 +86,8 @@ Profile* ExtensionBrowserTest::profile() { |
// static |
const Extension* ExtensionBrowserTest::GetExtensionByPath( |
const ExtensionSet* extensions, const base::FilePath& path) { |
- base::FilePath extension_path = path; |
- EXPECT_TRUE(file_util::AbsolutePath(&extension_path)); |
+ base::FilePath extension_path = base::MakeAbsoluteFilePath(path); |
+ EXPECT_TRUE(!extension_path.empty()); |
for (ExtensionSet::const_iterator iter = extensions->begin(); |
iter != extensions->end(); ++iter) { |
if ((*iter)->path() == extension_path) { |