Index: athena/content/web_activity.cc |
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc |
index be9ad2f705132dc3f235fdd17f141f81a0a68d2e..a2affe040f6b6a1f0a34b708811f99ac785c49ea 100644 |
--- a/athena/content/web_activity.cc |
+++ b/athena/content/web_activity.cc |
@@ -530,6 +530,9 @@ SkColor WebActivity::GetRepresentativeColor() const { |
base::string16 WebActivity::GetTitle() const { |
if (!title_.empty()) |
return title_; |
+ const base::string16& title = web_view_->GetWebContents()->GetTitle(); |
+ if (!title.empty()) |
+ return title; |
return base::UTF8ToUTF16(web_view_->GetWebContents()->GetVisibleURL().host()); |
} |