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:
@@ -40,13 +40,13 @@ std::string GetManifest() {
|
||||
ResourceBundle::GetSharedInstance().GetRawDataResource(
|
||||
IDR_PDF_MANIFEST).as_string();
|
||||
DCHECK(manifest_contents.find(kNameTag) != std::string::npos);
|
||||
ReplaceFirstSubstringAfterOffset(
|
||||
base::ReplaceFirstSubstringAfterOffset(
|
||||
&manifest_contents, 0, kNameTag, kPdfPluginName);
|
||||
|
||||
DCHECK(manifest_contents.find(kIndexTag) != std::string::npos);
|
||||
std::string index = switches::PdfMaterialUIEnabled() ?
|
||||
kMaterialIndex : kRegularIndex;
|
||||
ReplaceSubstringsAfterOffset(&manifest_contents, 0, kIndexTag, index);
|
||||
base::ReplaceSubstringsAfterOffset(&manifest_contents, 0, kIndexTag, index);
|
||||
return manifest_contents;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user