| Index: content/shell/shell_win.cc
|
| diff --git a/content/shell/shell_win.cc b/content/shell/shell_win.cc
|
| index 47419eed153d0a3dee9c368125ccf67d18c3ecfe..20fe1a022daecfcf40acaa5f7b7135659c3e83e0 100644
|
| --- a/content/shell/shell_win.cc
|
| +++ b/content/shell/shell_win.cc
|
| @@ -11,7 +11,7 @@
|
| #include "base/string_piece.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/win/resource_util.h"
|
| -#include "content/browser/tab_contents/tab_contents.h"
|
| +#include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "content/shell/resource.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -148,7 +148,7 @@ void Shell::PlatformCreateWindow(int width, int height) {
|
| }
|
|
|
| void Shell::PlatformSetContents() {
|
| - SetParent(tab_contents_->GetView()->GetNativeView(), window_);
|
| + SetParent(web_contents_->GetView()->GetNativeView(), window_);
|
| }
|
|
|
| void Shell::SizeTo(int width, int height) {
|
| @@ -210,7 +210,7 @@ LRESULT CALLBACK Shell::WndProc(HWND hwnd, UINT message, WPARAM wParam,
|
| switch (id) {
|
| case IDM_NEW_WINDOW:
|
| CreateNewWindow(
|
| - shell->tab_contents()->GetBrowserContext(),
|
| + shell->web_contents()->GetBrowserContext(),
|
| GURL(), NULL, MSG_ROUTING_NONE, NULL);
|
| break;
|
| case IDM_CLOSE_WINDOW:
|
|
|