Commit c3d677ed 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.

Since callees and the definition used `quad_layer_rect` here, flip the
decl to use that, too.

Bug: 1136209
Change-Id: Ifb6a7e11d2816f1d05f5403b77af8382e605467b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2458892Reviewed-by: default avatarJonathan Backer <backer@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816618}
parent ab5afba2
......@@ -34,7 +34,7 @@ class VIZ_COMMON_EXPORT SharedQuadState {
~SharedQuadState();
void SetAll(const gfx::Transform& quad_to_target_transform,
const gfx::Rect& layer_rect,
const gfx::Rect& quad_layer_rect,
const gfx::Rect& visible_layer_rect,
const gfx::RRectF& rounded_corner_bounds,
const gfx::Rect& clip_rect,
......
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