mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 12bfc336 (#338390).
- The ffmpeg library is now statically linked (see https://codereview.chromium.org/1141703002). - Off-screen rendering of the PDF viewer does not work in combination with surfaces. Pass the `--disable-surfaces` command-line flag if GPU is enabled (see https://codereview.chromium.org/1169983006).
This commit is contained in:
@@ -98,7 +98,8 @@ class URLRequestResourceBundleJob : public net::URLRequestSimpleJob {
|
||||
const net::CompletionCallback& callback,
|
||||
bool read_result) {
|
||||
*out_mime_type = *read_mime_type;
|
||||
if (StartsWithASCII(*read_mime_type, "text/", false)) {
|
||||
if (base::StartsWith(*read_mime_type, "text/",
|
||||
base::CompareCase::INSENSITIVE_ASCII)) {
|
||||
// All of our HTML files should be UTF-8 and for other resource types
|
||||
// (like images), charset doesn't matter.
|
||||
DCHECK(base::IsStringUTF8(base::StringPiece(
|
||||
|
Reference in New Issue
Block a user