Index: athena/content/web_activity.cc |
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc |
index 8ec8b530ca89ed197f838604ab55b912304207b9..0a5e0b5a1140ed5f33bfa0d77328fd9146cecbda 100644 |
--- a/athena/content/web_activity.cc |
+++ b/athena/content/web_activity.cc |
@@ -349,11 +349,11 @@ void WebActivity::Init() { |
SkColor WebActivity::GetRepresentativeColor() const { |
// TODO(sad): Compute the color from the favicon. |
- return SK_ColorGRAY; |
+ return web_view_ ? SK_ColorGRAY : SkColorSetRGB(0xbb, 0x77, 0x77); |
} |
base::string16 WebActivity::GetTitle() const { |
- return web_view_->GetWebContents()->GetTitle(); |
+ return web_view_ ? web_view_->GetWebContents()->GetTitle() : base::string16(); |
} |
bool WebActivity::UsesFrame() const { |