summaryrefslogtreecommitdiffstats
path: root/chrome/browser/navigation_controller_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/navigation_controller_unittest.cc')
-rw-r--r--chrome/browser/navigation_controller_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/navigation_controller_unittest.cc b/chrome/browser/navigation_controller_unittest.cc
index 731958d..5f9d85e 100644
--- a/chrome/browser/navigation_controller_unittest.cc
+++ b/chrome/browser/navigation_controller_unittest.cc
@@ -1225,8 +1225,8 @@ TEST_F(NavigationControllerTest, RestoreNavigate) {
std::vector<TabNavigation> navigations;
navigations.push_back(TabNavigation(0, url, L"Title", "state",
PageTransition::LINK));
- scoped_ptr<NavigationController> controller(
- new NavigationController(profile, navigations, 0, NULL));
+ NavigationController* controller =
+ new NavigationController(profile, navigations, 0, NULL);
controller->GoToIndex(0);
// We should now have one entry, and it should be "pending".