[cr140] Fixing unwanted substitution of UpdateIcon

This change adds a preemtpive inclusion to correct an unintended
substitution for `UpdateIcon`.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/36c6dfed1248cd1de87cf58cbcfa2345efd90a32

commit 36c6dfed1248cd1de87cf58cbcfa2345efd90a32
Author: David Sanders <dsanders11@ucsbalum.com>
Date:   Mon Jul 7 01:51:15 2025 -0700

    Remove unused include in toolbar_controller.h

    Adds missing includes as needed to fix the build.

    Bug: 40318405
    Change-Id: Iea86f87007758ef011cab22f7577a98351fdfb21
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6707467
    Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
    Commit-Queue: David Sanders <dsanders11@ucsbalum.com>
    Cr-Commit-Position: refs/heads/main@{#1483035}
This commit is contained in:
Claudio DeSouza
2025-08-19 19:54:19 +01:00
parent c788ba3abe
commit 380f818c92
@@ -7,6 +7,7 @@
#include "chrome/browser/ui/views/toolbar/pinned_toolbar_actions_container.h"
#include "chrome/browser/ui/views/toolbar/toolbar_button.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#define UpdateIcon UpdateIcon_ChromiumImpl
#include <chrome/browser/ui/views/toolbar/pinned_action_toolbar_button.cc>