Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5063)

Unified Diff: chrome/browser/ui/panels/old_base_panel_browser_test.cc

Issue 10868072: Make TabContents ctor private; poke hole for existing callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: all green Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/old_base_panel_browser_test.cc
diff --git a/chrome/browser/ui/panels/old_base_panel_browser_test.cc b/chrome/browser/ui/panels/old_base_panel_browser_test.cc
index 6d792d4ef42c49aea9c538e87fc2f3c2265cbd6c..fc7fa9e1218ce86b101fda0754f9c45871582a5e 100644
--- a/chrome/browser/ui/panels/old_base_panel_browser_test.cc
+++ b/chrome/browser/ui/panels/old_base_panel_browser_test.cc
@@ -420,7 +420,7 @@ NativePanelTesting* OldBasePanelBrowserTest::CreateNativePanelTesting(
}
void OldBasePanelBrowserTest::CreateTestTabContents(Browser* browser) {
- TabContents* tab_contents = new TabContents(
+ TabContents* tab_contents = TabContents::Factory::CreateTabContents(
WebContentsTester::CreateTestWebContents(browser->profile(), NULL));
chrome::AddTab(browser, tab_contents, content::PAGE_TRANSITION_LINK);
}
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | chrome/browser/ui/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698