Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index 78b2124cf4232b6fe1fb01b7c9db73956badfd99..23a05ddd22eb2c1f1aae3674bc50af9aaadf9900 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -1369,29 +1369,6 @@ bool TabContents::ShouldAcceptDragAndDrop() const { |
#endif |
} |
-TabContents* TabContents::CloneAndMakePhantom() { |
- TabNavigation tab_nav; |
- |
- NavigationEntry* entry = controller().GetActiveEntry(); |
- if (extension_app_) |
- tab_nav.set_virtual_url(extension_app_->GetFullLaunchURL()); |
- else if (entry) |
- tab_nav.SetFromNavigationEntry(*entry); |
- |
- std::vector<TabNavigation> navigations; |
- navigations.push_back(tab_nav); |
- |
- TabContents* new_contents = |
- new TabContents(profile(), NULL, MSG_ROUTING_NONE, NULL); |
- new_contents->SetExtensionApp(extension_app_); |
- new_contents->controller().RestoreFromState(navigations, 0, false); |
- |
- if (!extension_app_ && entry) |
- new_contents->controller().GetActiveEntry()->favicon() = entry->favicon(); |
- |
- return new_contents; |
-} |
- |
// Resets the |content_blocked_| array. |
void TabContents::ClearBlockedContentSettings() { |
for (size_t i = 0; i < arraysize(content_blocked_); ++i) |