summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-82-gcc-template.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-82-gcc-template.patch')
-rw-r--r--www-client/chromium/files/chromium-82-gcc-template.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/www-client/chromium/files/chromium-82-gcc-template.patch b/www-client/chromium/files/chromium-82-gcc-template.patch
deleted file mode 100644
index 90909c5692b8..000000000000
--- a/www-client/chromium/files/chromium-82-gcc-template.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/content/public/browser/web_ui.h b/content/public/browser/web_ui.h
-index 4e6aa0e..fa6f10c 100644
---- a/content/public/browser/web_ui.h
-+++ b/content/public/browser/web_ui.h
-@@ -138,22 +138,6 @@ class CONTENT_EXPORT WebUI {
- template <typename T>
- static T GetValue(const base::Value& value);
-
-- template <>
-- inline bool GetValue<bool>(const base::Value& value) {
-- return value.GetBool();
-- }
--
-- template <>
-- inline int GetValue<int>(const base::Value& value) {
-- return value.GetInt();
-- }
--
-- template <>
-- inline const std::string& GetValue<const std::string&>(
-- const base::Value& value) {
-- return value.GetString();
-- }
--
- template <typename Is, typename... Args>
- struct Call;
-
-@@ -169,6 +153,22 @@ class CONTENT_EXPORT WebUI {
- };
- };
-
-+template <>
-+inline bool WebUI::GetValue<bool>(const base::Value& value) {
-+ return value.GetBool();
-+}
-+
-+template <>
-+inline int WebUI::GetValue<int>(const base::Value& value) {
-+ return value.GetInt();
-+}
-+
-+template <>
-+inline const std::string& WebUI::GetValue<const std::string&>(
-+ const base::Value& value) {
-+ return value.GetString();
-+}
-+
- } // namespace content
-
- #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_H_