summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 23:31:24 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 23:31:24 +0000
commitdda1abbfdce930e97a17d5531dec94a8086b7279 (patch)
treecc88ffd5e4acf059b7eb454f3ef886eaf6112f60 /chrome/browser/tab_contents/tab_contents.cc
parentd5164137cb9b245bca89bef253bc395adcb7861c (diff)
downloadchromium_src-dda1abbfdce930e97a17d5531dec94a8086b7279.zip
chromium_src-dda1abbfdce930e97a17d5531dec94a8086b7279.tar.gz
chromium_src-dda1abbfdce930e97a17d5531dec94a8086b7279.tar.bz2
Duplicating a nano-tab should create another nano-tab, not a regular tab.
BUG=43129 TEST=Duplicate a nano-tab and observe that a nano-tab is created. Review URL: http://codereview.chromium.org/1898001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index c3ddc0c..4574361 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -849,6 +849,9 @@ TabContents* TabContents::Clone() {
SiteInstance::CreateSiteInstance(profile()),
MSG_ROUTING_NONE, this);
tc->controller().CopyStateFrom(controller_);
+ tc->app_extension_ = app_extension_;
+ tc->app_extension_for_current_page_ = app_extension_for_current_page_;
+ tc->app_extension_icon_ = app_extension_icon_;
return tc;
}