Index: chrome/browser/extensions/extension_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc |
index 4590b770a7c41ad0c19b9428475516770f2bb389..a7703a2c91b42fb727de1f629b8cc139d75aac3a 100644 |
--- a/chrome/browser/extensions/extension_browsertest.cc |
+++ b/chrome/browser/extensions/extension_browsertest.cc |
@@ -329,7 +329,7 @@ const Extension* ExtensionBrowserTest::LoadAndLaunchApp( |
base::FilePath ExtensionBrowserTest::PackExtension( |
const base::FilePath& dir_path) { |
- base::FilePath crx_path = temp_dir_.path().AppendASCII("temp.crx"); |
+ base::FilePath crx_path = temp_dir_.GetPath().AppendASCII("temp.crx"); |
if (!base::DeleteFile(crx_path, false)) { |
ADD_FAILURE() << "Failed to delete crx: " << crx_path.value(); |
return base::FilePath(); |