Index: chrome/installer/util/installer_state_unittest.cc |
diff --git a/chrome/installer/util/installer_state_unittest.cc b/chrome/installer/util/installer_state_unittest.cc |
index 1ced49e2e66760e5289c60de2d1e216d7a7880a1..5576fbc0a7d0164f466a4111c3cd8a096a459797 100644 |
--- a/chrome/installer/util/installer_state_unittest.cc |
+++ b/chrome/installer/util/installer_state_unittest.cc |
@@ -476,7 +476,8 @@ TEST_F(InstallerStateTest, GetCurrentVersionMigrateChrome) { |
installer_state.Initialize(cmd_line, prefs, machine_state); |
// Is the Chrome version picked up? |
- scoped_ptr<Version> version(installer_state.GetCurrentVersion(machine_state)); |
+ std::unique_ptr<Version> version( |
+ installer_state.GetCurrentVersion(machine_state)); |
EXPECT_TRUE(version.get() != NULL); |
} |
@@ -729,7 +730,7 @@ class InstallerStateCriticalVersionTest : public ::testing::Test { |
static Version* high_version_; |
base::CommandLine cmd_line_; |
- scoped_ptr<MasterPreferences> prefs_; |
+ std::unique_ptr<MasterPreferences> prefs_; |
InstallationState machine_state_; |
MockInstallerState installer_state_; |
}; |