| Index: chrome/browser/ui/browser_commands.cc
|
| diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
|
| index a01c79150a1eb6d1de4d17364e0f898a14a80a26..bde7ec3b7ce1a0cd450e41a4660ad0ed3556c7c2 100644
|
| --- a/chrome/browser/ui/browser_commands.cc
|
| +++ b/chrome/browser/ui/browser_commands.cc
|
| @@ -616,7 +616,7 @@ TabContents* DuplicateTabAt(Browser* browser, int index) {
|
| SessionService* session_service =
|
| SessionServiceFactory::GetForProfileIfExisting(browser->profile());
|
| if (session_service)
|
| - session_service->TabRestored(contents_dupe, pinned);
|
| + session_service->TabRestored(contents_dupe->web_contents(), pinned);
|
| return contents_dupe;
|
| }
|
|
|
| @@ -1048,7 +1048,7 @@ void ViewSource(Browser* browser,
|
| SessionService* session_service =
|
| SessionServiceFactory::GetForProfileIfExisting(browser->profile());
|
| if (session_service)
|
| - session_service->TabRestored(view_source_contents, false);
|
| + session_service->TabRestored(view_source_contents->web_contents(), false);
|
| }
|
|
|
| void ViewSelectedSource(Browser* browser) {
|
|
|