| Index: chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| index 2436cb56f442eecac271200cb86faad04f136a96..7436e4461c56fbf156dd509a9d1492873e78597c 100644
|
| --- a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
|
| @@ -33,6 +33,7 @@
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/url_data_source.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "content/public/browser/web_ui.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -112,7 +113,7 @@ void ForeignSessionHandler::OpenForeignSessionWindows(
|
| iter_begin + 1;
|
| chrome::HostDesktopType host_desktop_type =
|
| chrome::GetHostDesktopTypeForNativeView(
|
| - web_ui->GetWebContents()->GetNativeView());
|
| + web_ui->GetWebContents()->GetView()->GetNativeView());
|
| SessionRestore::RestoreForeignSessionWindows(
|
| Profile::FromWebUI(web_ui), host_desktop_type, iter_begin, iter_end);
|
| }
|
|
|