Index: chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc b/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc |
index 6881c7ee5359fcce2851a394ee4c7d80538b9fa8..75dbadcc3d7df59130a5d63df224c39a09f0a29a 100644 |
--- a/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc |
+++ b/chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc |
@@ -88,7 +88,11 @@ void CookiesViewHandler::TreeNodesAdded(ui::TreeModel* model, |
CookieTreeNode* parent_node = tree_model->AsNode(parent); |
std::unique_ptr<base::ListValue> children(new base::ListValue); |
- model_util_->GetChildNodeList(parent_node, start, count, children.get()); |
+ // Passing false for |include_quota_nodes| since they don't reflect reality |
+ // until bug http://crbug.com/642955 is fixed and local/session storage is |
+ // counted against the total. |
+ model_util_->GetChildNodeList( |
+ parent_node, start, count, false, children.get()); |
base::DictionaryValue args; |
if (parent == tree_model->GetRoot()) |
@@ -221,7 +225,10 @@ void CookiesViewHandler::SendChildren(const CookieTreeNode* parent) { |
AllowJavascript(); |
std::unique_ptr<base::ListValue> children(new base::ListValue); |
- model_util_->GetChildNodeList(parent, 0, parent->child_count(), |
+ // Passing false for |include_quota_nodes| since they don't reflect reality |
+ // until bug http://crbug.com/642955 is fixed and local/session storage is |
+ // counted against the total. |
+ model_util_->GetChildNodeList(parent, 0, parent->child_count(), false, |
children.get()); |
base::DictionaryValue args; |