| Index: ui/views/controls/webview/webview.cc
|
| diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc
|
| index a131905b7d68ee3d4179524028015891c9e24ea3..059540a6ca341b0906e44792598abae2a9995bb3 100644
|
| --- a/ui/views/controls/webview/webview.cc
|
| +++ b/ui/views/controls/webview/webview.cc
|
| @@ -407,9 +407,9 @@ void WebView::NotifyMaybeTextInputClientAndAccessibilityChanged() {
|
| content::WebContents* WebView::CreateWebContents(
|
| content::BrowserContext* browser_context) {
|
| content::WebContents* contents = NULL;
|
| - if (ViewsDelegate::views_delegate) {
|
| - contents = ViewsDelegate::views_delegate->CreateWebContents(
|
| - browser_context, NULL);
|
| + if (ViewsDelegate::GetInstance()) {
|
| + contents =
|
| + ViewsDelegate::GetInstance()->CreateWebContents(browser_context, NULL);
|
| }
|
|
|
| if (!contents) {
|
|
|