| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 142698)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -2730,7 +2730,7 @@
|
| return nc.GetWebContents() && nc.GetLastCommittedEntry();
|
| }
|
|
|
| -void Browser::DuplicateContentsAt(int index) {
|
| +TabContents* Browser::DuplicateContentsAt(int index) {
|
| TabContents* contents = GetTabContentsAt(index);
|
| CHECK(contents);
|
| TabContents* contents_dupe = contents->Clone();
|
| @@ -2776,6 +2776,7 @@
|
| SessionServiceFactory::GetForProfileIfExisting(profile_);
|
| if (session_service)
|
| session_service->TabRestored(contents_dupe, pinned);
|
| + return contents_dupe;
|
| }
|
|
|
| void Browser::CloseFrameAfterDragSession() {
|
|
|