summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookies_tree_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cookies_tree_model.cc')
-rw-r--r--chrome/browser/cookies_tree_model.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc
index 1dd02be..24e3c9a 100644
--- a/chrome/browser/cookies_tree_model.cc
+++ b/chrome/browser/cookies_tree_model.cc
@@ -186,9 +186,10 @@ CookieTreeSessionStorageNode::CookieTreeSessionStorageNode(
CookieTreeIndexedDBNode::CookieTreeIndexedDBNode(
BrowsingDataIndexedDBHelper::IndexedDBInfo* indexed_db_info)
- : CookieTreeNode(indexed_db_info->database_name.empty() ?
- l10n_util::GetStringUTF16(IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME) :
- UTF8ToUTF16(indexed_db_info->database_name)),
+ : CookieTreeNode(UTF8ToUTF16(
+ indexed_db_info->origin.empty() ?
+ indexed_db_info->database_identifier :
+ indexed_db_info->origin)),
indexed_db_info_(indexed_db_info) {
}