| Index: chrome/browser/ui/browser_commands.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser_commands.cc (revision 155137)
|
| +++ chrome/browser/ui/browser_commands.cc (working copy)
|
| @@ -491,7 +491,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 =
|
| @@ -541,6 +541,7 @@
|
| SessionServiceFactory::GetForProfileIfExisting(browser->profile());
|
| if (session_service)
|
| session_service->TabRestored(contents_dupe, pinned);
|
| + return contents_dupe;
|
| }
|
|
|
| bool CanDuplicateTabAt(Browser* browser, int index) {
|
|
|