Skip to content

Commit

Permalink
Delete chrome-browser-ui-views-tabs-new_tab_button.h.patch
Browse files Browse the repository at this point in the history
fix brave/brave-browser#43194

It could be done by overriding.
  • Loading branch information
simonhong committed Jan 9, 2025
1 parent 2a00b6d commit 7ffb3a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
10 changes: 3 additions & 7 deletions chromium_src/chrome/browser/ui/views/tabs/new_tab_button.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
12 changes: 0 additions & 12 deletions patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch

This file was deleted.

0 comments on commit 7ffb3a4

Please sign in to comment.