Remove some superfluous //ui/gfx includes from //components headers
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}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
e39e298e6e
commit
cd98c2e633
components
autofill
content
renderer
background_fetch
exo
lens
live_caption
omnibox
browser
open_from_clipboard
page_info
password_manager
core
printing
test
remote_cocoa
saved_tab_groups
sessions
ui_devtools
viz
webapps
browser
android
webapk
@ -27,7 +27,6 @@
|
||||
#include "components/tab_groups/tab_group_visual_data.h"
|
||||
#include "ui/base/ui_base_types.h"
|
||||
#include "ui/base/window_open_disposition.h"
|
||||
#include "ui/gfx/geometry/rect.h"
|
||||
|
||||
namespace sessions {
|
||||
|
||||
|
Reference in New Issue
Block a user