Skip to content

Commit

Permalink
temporary fix of a crash in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Feb 8, 2024
1 parent 3d9aa9e commit 74cf1d1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/cromite_patches_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,5 @@ eyeo-beta-118.0.5993.48-extension_api.patch
Eyeo-Adblock-Remove-Privacy-Issues.patch
AdblockPlus-add-blocking-in-service-workers.patch
AdblockPlus-connect-popup-blocker.patch

Temp-FIXUP-Content-settings-infrastructure.patch
20 changes: 20 additions & 0 deletions build/patches/Temp-FIXUP-Content-settings-infrastructure.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From: uazo <[email protected]>
Date: Thu, 8 Feb 2024 07:01:10 +0000
Subject: Temp FIXUP Content settings infrastructure

---
chrome/browser/ui/views/page_info/page_info_main_view.cc | 1 +
1 file changed, 1 insertion(+)

diff --git a/chrome/browser/ui/views/page_info/page_info_main_view.cc b/chrome/browser/ui/views/page_info/page_info_main_view.cc
--- a/chrome/browser/ui/views/page_info/page_info_main_view.cc
+++ b/chrome/browser/ui/views/page_info/page_info_main_view.cc
@@ -300,6 +300,7 @@ void PageInfoMainView::SetPermissionInfo(
content_view->AddChildView(std::move(object_view)));
}

+ table_layout->AddRows(/*n=*/1, views::TableLayout::kFixedSize);
if (++count % 2 == 0)
content_view->AddChildView(std::make_unique<views::View>());

--

0 comments on commit 74cf1d1

Please sign in to comment.