summaryrefslogtreecommitdiff
path: root/chromium-125-assert.patch
blob: c28aafd8926f50cf4b22b0e839a09c80a0ad1c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
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());