Index: extensions/browser/updater/update_install_shim.cc |
diff --git a/extensions/browser/updater/update_install_shim.cc b/extensions/browser/updater/update_install_shim.cc |
index 4b6f58294aab5720e81839c0dc90c9363f591e60..4072a85d1d774932663baf0fc78d9e7309cb6680 100644 |
--- a/extensions/browser/updater/update_install_shim.cc |
+++ b/extensions/browser/updater/update_install_shim.cc |
@@ -34,11 +34,11 @@ bool UpdateInstallShim::Install(const base::DictionaryValue& manifest, |
// The UpdateClient code will delete unpack_path if it still exists after |
// this method is done, so we rename it on top of our temp dir. |
- if (!base::DeleteFile(temp_dir.path(), true) || |
- !base::Move(unpack_path, temp_dir.path())) { |
+ if (!base::DeleteFile(temp_dir.GetPath(), true) || |
+ !base::Move(unpack_path, temp_dir.GetPath())) { |
LOG(ERROR) << "Trying to install update for " << extension_id_ |
<< "and failed to move " << unpack_path.value() << " to " |
- << temp_dir.path().value(); |
+ << temp_dir.GetPath().value(); |
return false; |
} |
content::BrowserThread::PostTask( |