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

Unified Diff: chrome/browser/history/starred_url_database.cc

Issue 274040: More style nits. (Closed)
Patch Set: Created 11 years, 2 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
Index: chrome/browser/history/starred_url_database.cc
diff --git a/chrome/browser/history/starred_url_database.cc b/chrome/browser/history/starred_url_database.cc
index 7c775744de728a72e4ffe7cd0c451674e245dc0e..31e659c826a4b0aa922229bd0a8548740bf7e068 100644
--- a/chrome/browser/history/starred_url_database.cc
+++ b/chrome/browser/history/starred_url_database.cc
@@ -380,7 +380,7 @@ bool StarredURLDatabase::BuildStarNodes(
StarredNode* node = group_id_to_node_map[star_entries[i].group_id];
if (!node->HasAncestor(parent) && !parent->HasAncestor(node)) {
parent->Add(parent->GetChildCount(), node);
- } else{
+ } else {
// The node has a cycle. Add it to the list of roots so the cycle is
// broken.
roots->insert(node);

Powered by Google App Engine
This is Rietveld 408576698