| Index: athena/content/content_proxy.cc
|
| diff --git a/athena/content/content_proxy.cc b/athena/content/content_proxy.cc
|
| index 121d7ad2011359d78c642deef8a8a667da26dbd9..f2a2f137a9f2c18cd8beef70aeab7493d88c953e 100644
|
| --- a/athena/content/content_proxy.cc
|
| +++ b/athena/content/content_proxy.cc
|
| @@ -144,7 +144,10 @@ void ContentProxy::CreateProxyContent() {
|
|
|
| content::RenderViewHost* host =
|
| web_view_->GetWebContents()->GetRenderViewHost();
|
| - DCHECK(host && host->GetView());
|
| + DCHECK(host);
|
| + // A never fully initialized content can come here with no view.
|
| + if (!host->GetView())
|
| + return;
|
| gfx::Size source = host->GetView()->GetViewBounds().size();
|
| gfx::Size target = gfx::Size(source.width() / 2, source.height() / 2);
|
| host->CopyFromBackingStore(
|
|
|