summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/dom_ui/dom_ui_contents.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc
index eda9fb9..cad2dd4 100644
--- a/chrome/browser/dom_ui/dom_ui_contents.cc
+++ b/chrome/browser/dom_ui/dom_ui_contents.cc
@@ -174,8 +174,8 @@ WebPreferences DOMUIContents::GetWebkitPrefs() {
}
void DOMUIContents::RenderViewCreated(RenderViewHost* render_view_host) {
- DCHECK(current_ui_);
- current_ui_->RenderViewCreated(render_view_host);
+ if (current_ui_)
+ current_ui_->RenderViewCreated(render_view_host);
}
bool DOMUIContents::ShouldDisplayFavIcon() {