Index: chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc |
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc b/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc |
index a4bbd98b39ed1fe0cd82031bee7b6399578d1b0e..609619857d7f0318b4ecaa7027dfcd1de78f1a0a 100644 |
--- a/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc |
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc |
@@ -1117,11 +1117,11 @@ TEST_F(ToolbarActionsModelUnitTest, ActionsToolbarIncognitoEnableExtension) { |
// The extension id will be calculated from the file path; we need this to |
// wait for the extension to load. |
base::FilePath path_for_id = |
- base::MakeAbsoluteFilePath(dirs[i]->unpacked_path()); |
+ base::MakeAbsoluteFilePath(dirs[i]->UnpackedPath()); |
std::string id = crx_file::id_util::GenerateIdForPath(path_for_id); |
extensions::TestExtensionRegistryObserver observer(registry(), id); |
- extensions::UnpackedInstaller::Create(service()) |
- ->Load(dirs[i]->unpacked_path()); |
+ extensions::UnpackedInstaller::Create(service())->Load( |
+ dirs[i]->UnpackedPath()); |
observer.WaitForExtensionLoaded(); |
extensions[i] = registry()->enabled_extensions().GetByID(id); |
ASSERT_TRUE(extensions[i]); |