Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: components/bookmarks/browser/bookmark_utils.cc

Issue 955753002: bookmarks: Remove unnecessary namespace qualifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/bookmarks/browser/bookmark_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_utils.cc
diff --git a/components/bookmarks/browser/bookmark_utils.cc b/components/bookmarks/browser/bookmark_utils.cc
index 7199ad5c6332400c87d051e716d2eda1fd7516ac..758f19f6e3e226bf18cd71bbe12a4011a000f11f 100644
--- a/components/bookmarks/browser/bookmark_utils.cc
+++ b/components/bookmarks/browser/bookmark_utils.cc
@@ -510,13 +510,12 @@ const BookmarkNode* GetBookmarkNodeByID(const BookmarkModel* model, int64 id) {
return GetNodeByID(model->root_node(), id);
}
-bool IsDescendantOf(const bookmarks::BookmarkNode* node,
- const bookmarks::BookmarkNode* root) {
+bool IsDescendantOf(const BookmarkNode* node, const BookmarkNode* root) {
return node && node->HasAncestor(root);
}
-bool HasDescendantsOf(const std::vector<const bookmarks::BookmarkNode*>& list,
- const bookmarks::BookmarkNode* root) {
+bool HasDescendantsOf(const std::vector<const BookmarkNode*>& list,
+ const BookmarkNode* root) {
for (const BookmarkNode* node : list) {
if (IsDescendantOf(node, root))
return true;
« no previous file with comments | « components/bookmarks/browser/bookmark_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698