forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary condition in CounterNode::InsertAfter
It will be return in InsertAfter() early, if new_child->first_child_ is nullptr. So, we do not need check for first is nullptr in here. This patch is for cleaning up the codes BUG=752371 Change-Id: I5d854d5b025f62b92e6fc7f0e815bf320243f0c0 Reviewed-on: https://chromium-review.googlesource.com/601647 Reviewed-by: Stephen Chenney <[email protected]> Commit-Queue: Stephen Chenney <[email protected]> Cr-Commit-Position: refs/heads/master@{#495221}
- Loading branch information
Showing
1 changed file
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters