Index: mojo/services/html_viewer/html_viewer.cc |
diff --git a/mojo/services/html_viewer/html_viewer.cc b/mojo/services/html_viewer/html_viewer.cc |
index 014f2381c4d8c4642dcd10f6c882cc6817cafade..df9445787a036be19c0864904d877c06dac03508 100644 |
--- a/mojo/services/html_viewer/html_viewer.cc |
+++ b/mojo/services/html_viewer/html_viewer.cc |
@@ -87,7 +87,7 @@ class HTMLViewer : public ApplicationDelegate, public ViewManagerDelegate { |
} |
void MaybeLoad() { |
- if (document_view_ && response_details_) |
+ if (document_view_ && response_details_ && response_details_->response) |
document_view_->Load(response_details_->response.Pass()); |
} |