
With the exception of ui/gfx/color_utils.h, code in //ui/gfx use namespace gfx, so if "gfx::" does not appear in a header, then it does not need the //ui/gfx includes. The command below generated the list of edited files: git grep -l '^#include "ui/gfx' components|grep '\.h$'|xargs grep -L gfx:: Clean up those headers and then do IWYU to fix the build. Bug: 40318405 Change-Id: I89122602c3aa7d09ac1490b48297bf09366f01e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6558849 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1462366}