Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12959
chromium.openSUSE_Leap_15.1_Update
chromium-82-gcc-template.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-82-gcc-template.patch of Package chromium.openSUSE_Leap_15.1_Update
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_
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor