summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index d41cac3..87f4bf0 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -139,7 +139,7 @@ bool RenderViewHost::CreateRenderView() {
// ignored, so this is safe.
if (!process()->Init())
return false;
- DCHECK(process()->channel());
+ DCHECK(process()->HasConnection());
DCHECK(process()->profile());
if (BindingsPolicy::is_dom_ui_enabled(enabled_bindings_)) {
@@ -197,7 +197,7 @@ bool RenderViewHost::CreateRenderView() {
}
bool RenderViewHost::IsRenderViewLive() const {
- return process()->channel() && renderer_initialized_;
+ return process()->HasConnection() && renderer_initialized_;
}
void RenderViewHost::SetRendererPrefs(