| Index: chrome/browser/ui/browser_commands.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser_commands.cc (revision 150331)
|
| +++ chrome/browser/ui/browser_commands.cc (working copy)
|
| @@ -487,7 +487,7 @@
|
| return contents && contents->GetController().GetLastCommittedEntry();
|
| }
|
|
|
| -void DuplicateTabAt(Browser* browser, int index) {
|
| +TabContents* DuplicateTabAt(Browser* browser, int index) {
|
| TabContents* contents = GetTabContentsAt(browser, index);
|
| CHECK(contents);
|
| TabContents* contents_dupe = contents->Clone();
|
| @@ -536,6 +536,7 @@
|
| SessionServiceFactory::GetForProfileIfExisting(browser->profile());
|
| if (session_service)
|
| session_service->TabRestored(contents_dupe, pinned);
|
| + return contents_dupe;
|
| }
|
|
|
| bool CanDuplicateTabAt(Browser* browser, int index) {
|
|
|