summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/web_ui_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/web_ui_unittest.cc')
-rw-r--r--chrome/browser/ui/webui/web_ui_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/web_ui_unittest.cc b/chrome/browser/ui/webui/web_ui_unittest.cc
index 30e0b63..ee231e1 100644
--- a/chrome/browser/ui/webui/web_ui_unittest.cc
+++ b/chrome/browser/ui/webui/web_ui_unittest.cc
@@ -95,7 +95,7 @@ TEST_F(WebUITest, WebUIToStandard) {
// slightly different than the very-first-navigation case since the
// SiteInstance will be the same (the original TabContents must still be
// alive), which will trigger different behavior in RenderViewHostManager.
- TestTabContents* contents2 = new TestTabContents(profile_.get(), NULL);
+ TestTabContents* contents2 = new TestTabContents(profile(), NULL);
TabContentsWrapper wrapper2(contents2);
DoNavigationTest(&wrapper2, 101);