Index: chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
diff --git a/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc b/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
index 2f5a9086bd4b0d1f19c6812436403e3e6f4b99e2..87ff7f7319698b31aa533c005c758f91c1cd2bda 100644 |
--- a/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
+++ b/chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc |
@@ -73,7 +73,7 @@ BookmarkTreeNode* GetBookmarkTreeNode(ChromeBookmarkClient* client, |
new double(floor(node->date_added().ToDoubleT() * 1000))); |
} |
- if (client->IsDescendantOfManagedNode(node)) |
+ if (client->IsDescendantOfManagedOrSupervisedNode(node)) |
bookmark_tree_node->unmodifiable = BookmarkTreeNode::UNMODIFIABLE_MANAGED; |
if (recurse && node->is_folder()) { |
@@ -120,7 +120,7 @@ bool RemoveNode(BookmarkModel* model, |
*error = keys::kModifySpecialError; |
return false; |
} |
- if (client->IsDescendantOfManagedNode(node)) { |
+ if (client->IsDescendantOfManagedOrSupervisedNode(node)) { |
*error = keys::kModifyManagedError; |
return false; |
} |