Commit 694dd6bb authored by George Burgess IV's avatar George Burgess IV Committed by Commit Bot

fix an instance of bugprone-argument-comment

This new clang-tidy check complains when param names /*in_comments=*/
don't match up with the actual parameter name they're being passed to.
Sometimes this is benign, other times, actual bugs are found.

Bug: 1136209
Change-Id: I0f52a7aeba36f13a2cb20018888c049303edc0c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459346
Auto-Submit: George Burgess <gbiv@chromium.org>
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: default avatarNina Satragno <nsatragno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815635}
parent bd984b81
...@@ -186,7 +186,7 @@ void HoverListView::CreateAndAppendPlaceholderItem() { ...@@ -186,7 +186,7 @@ void HoverListView::CreateAndAppendPlaceholderItem() {
auto placeholder_item = CreateHoverButtonForListItem( auto placeholder_item = CreateHoverButtonForListItem(
model_->GetPlaceholderIcon(), model_->GetPlaceholderText(), model_->GetPlaceholderIcon(), model_->GetPlaceholderText(),
base::string16(), views::Button::PressedCallback(), base::string16(), views::Button::PressedCallback(),
/*is_two_line_list=*/false, ItemType::kPlaceholder); /*is_two_line_item=*/false, ItemType::kPlaceholder);
item_container_->AddChildView(placeholder_item.get()); item_container_->AddChildView(placeholder_item.get());
auto* separator = AddSeparatorAsChild(item_container_); auto* separator = AddSeparatorAsChild(item_container_);
placeholder_list_item_view_.emplace( placeholder_list_item_view_.emplace(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment