mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 088f14a0 (#373530)
- Building on Windows now requires the Windows 10.0.10586 SDK. - Remove CefParseCSSColor which was implemented using Blink code in the browser process. This is longer advisable now that the Oilpan GC is enabled. - Avoid potential renderer process crashes by disabling script actions on the CefV8Context passed to CefRenderProcessHandler::OnContextReleased.
This commit is contained in:
@@ -23,9 +23,13 @@ namespace logging {
|
||||
namespace {
|
||||
|
||||
#if defined(OS_POSIX)
|
||||
// From base/safe_strerror_posix.cc.
|
||||
// From base/posix/safe_strerror.cc
|
||||
|
||||
#define USE_HISTORICAL_STRERRO_R (defined(__GLIBC__) || defined(OS_NACL))
|
||||
#if defined(__GLIBC__) || defined(OS_NACL)
|
||||
#define USE_HISTORICAL_STRERRO_R 1
|
||||
#else
|
||||
#define USE_HISTORICAL_STRERRO_R 0
|
||||
#endif
|
||||
|
||||
#if USE_HISTORICAL_STRERRO_R && defined(__GNUC__)
|
||||
// GCC will complain about the unused second wrap function unless we tell it
|
||||
|
@@ -597,36 +597,6 @@ CEF_EXPORT cef_string_userfree_t cef_uridecode(const cef_string_t* text,
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
CEF_EXPORT int cef_parse_csscolor(const cef_string_t* string, int strict,
|
||||
cef_color_t* color) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: string; type: string_byref_const
|
||||
DCHECK(string);
|
||||
if (!string)
|
||||
return 0;
|
||||
// Verify param: color; type: simple_byref
|
||||
DCHECK(color);
|
||||
if (!color)
|
||||
return 0;
|
||||
|
||||
// Translate param: color; type: simple_byref
|
||||
cef_color_t colorVal = color?*color:0;
|
||||
|
||||
// Execute
|
||||
bool _retval = CefParseCSSColor(
|
||||
CefString(string),
|
||||
strict?true:false,
|
||||
colorVal);
|
||||
|
||||
// Restore param: color; type: simple_byref
|
||||
if (color)
|
||||
*color = colorVal;
|
||||
|
||||
// Return type: bool
|
||||
return _retval;
|
||||
}
|
||||
|
||||
CEF_EXPORT struct _cef_value_t* cef_parse_json(const cef_string_t* json_string,
|
||||
cef_json_parser_options_t options) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
@@ -565,25 +565,6 @@ CEF_GLOBAL CefString CefURIDecode(const CefString& text, bool convert_to_utf8,
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
CEF_GLOBAL bool CefParseCSSColor(const CefString& string, bool strict,
|
||||
cef_color_t& color) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: string; type: string_byref_const
|
||||
DCHECK(!string.empty());
|
||||
if (string.empty())
|
||||
return false;
|
||||
|
||||
// Execute
|
||||
int _retval = cef_parse_csscolor(
|
||||
string.GetStruct(),
|
||||
strict,
|
||||
&color);
|
||||
|
||||
// Return type: bool
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
CEF_GLOBAL CefRefPtr<CefValue> CefParseJSON(const CefString& json_string,
|
||||
cef_json_parser_options_t options) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
Reference in New Issue
Block a user