diff --git a/chromium_src/chrome/browser/ui/views/tabs/new_tab_button.h b/chromium_src/chrome/browser/ui/views/tabs/new_tab_button.h index 76b4c52305f2..e049bbfe3b8f 100644 --- a/chromium_src/chrome/browser/ui/views/tabs/new_tab_button.h +++ b/chromium_src/chrome/browser/ui/views/tabs/new_tab_button.h @@ -8,14 +8,10 @@ #include "chrome/browser/ui/tabs/tab_style.h" -#define BRAVE_NEW_TAB_BUTTON_H_ \ - private: \ +#define PaintFill \ + UnUsed() {} \ friend class BraveNewTabButton; \ - \ - public: \ - // #define BRAVE_NEW_TAB_BUTTON_H_ - -#define PaintFill virtual PaintFill + virtual void PaintFill #include "src/chrome/browser/ui/views/tabs/new_tab_button.h" // IWYU pragma: export #undef PaintFill #undef BRAVE_NEW_TAB_BUTTON_H_ diff --git a/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch b/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch deleted file mode 100644 index 679bf1949f8d..000000000000 --- a/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/chrome/browser/ui/views/tabs/new_tab_button.h b/chrome/browser/ui/views/tabs/new_tab_button.h -index 82ae931e0c1cb13c244e6dab41800d31433fb3ab..49b34ad99bdbfeccb4c3c1a2901316d94f008e63 100644 ---- a/chrome/browser/ui/views/tabs/new_tab_button.h -+++ b/chrome/browser/ui/views/tabs/new_tab_button.h -@@ -50,6 +50,7 @@ class NewTabButton : public views::ImageButton, - void AddLayerToRegion(ui::Layer* new_layer, - views::LayerRegion region) override; - void RemoveLayerFromRegions(ui::Layer* old_layer) override; -+ BRAVE_NEW_TAB_BUTTON_H_ - - protected: - virtual void PaintIcon(gfx::Canvas* canvas);