Index: chrome/browser/extensions/extension_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc |
index bb85609afb90eaf7e71b6e1ff536824a54c521fc..20c2680f1d42e97328a30bfdae07975bff1f4ed1 100644 |
--- a/chrome/browser/extensions/extension_browsertest.cc |
+++ b/chrome/browser/extensions/extension_browsertest.cc |
@@ -82,8 +82,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 = path.AsAbsolute(); |
+ EXPECT_TRUE(!extension_path.empty()); |
for (ExtensionSet::const_iterator iter = extensions->begin(); |
iter != extensions->end(); ++iter) { |
if ((*iter)->path() == extension_path) { |