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:
@@ -25,7 +25,6 @@ MSVC_PUSH_WARNING_LEVEL(0);
|
||||
#include "third_party/WebKit/public/web/WebNode.h"
|
||||
#include "third_party/WebKit/public/web/WebViewClient.h"
|
||||
|
||||
#include "third_party/WebKit/Source/core/css/parser/CSSParser.h"
|
||||
#include "third_party/WebKit/Source/core/dom/Element.h"
|
||||
#include "third_party/WebKit/Source/core/dom/Node.h"
|
||||
#include "third_party/WebKit/Source/core/editing/serializers/Serialization.h"
|
||||
@@ -160,23 +159,4 @@ blink::WebFrame* FindFrameByUniqueName(const blink::WebString& unique_name,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void InitializePartitionAlloc() {
|
||||
WTF::Partitions::initialize(nullptr);
|
||||
}
|
||||
|
||||
bool ParseCSSColor(const blink::WebString& string,
|
||||
bool strict, SkColor& color) {
|
||||
blink::Color rgba_color =
|
||||
blink::makeRGBA(SkColorGetR(color), SkColorGetG(color),
|
||||
SkColorGetB(color), SkColorGetA(color));
|
||||
if (!blink::CSSParser::parseColor(rgba_color, string, strict))
|
||||
return false;
|
||||
|
||||
color = SkColorSetARGB(rgba_color.alpha(),
|
||||
rgba_color.red(),
|
||||
rgba_color.green(),
|
||||
rgba_color.blue());
|
||||
return true;
|
||||
}
|
||||
|
||||
} // webkit_glue
|
||||
|
Reference in New Issue
Block a user