summaryrefslogtreecommitdiff
path: root/chromium-125-assert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium-125-assert.patch')
-rw-r--r--chromium-125-assert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium-125-assert.patch b/chromium-125-assert.patch
new file mode 100644
index 0000000..c28aafd
--- /dev/null
+++ b/chromium-125-assert.patch
@@ -0,0 +1,12 @@
+diff -up chromium-125.0.6422.60/chrome/browser/ui/webui/top_chrome/webui_contents_wrapper.h.assert chromium-125.0.6422.60/chrome/browser/ui/webui/top_chrome/webui_contents_wrapper.h
+--- chromium-125.0.6422.60/chrome/browser/ui/webui/top_chrome/webui_contents_wrapper.h.assert 2024-05-18 19:33:37.165243577 +0200
++++ chromium-125.0.6422.60/chrome/browser/ui/webui/top_chrome/webui_contents_wrapper.h 2024-05-18 19:45:51.224995489 +0200
+@@ -185,7 +185,7 @@ class WebUIContentsWrapperT : public Web
+ supports_draggable_regions,
+ T::GetWebUIName()),
+ webui_url_(webui_url) {
+- static_assert(
++ assert(
+ views_metrics::IsValidWebUINameVariant("." + T::GetWebUIName()));
+ if (is_ready_to_show()) {
+ CHECK(GetWebUIController());