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:
@ -668,10 +668,10 @@ void CefBrowserImpl::OnRequest(const Cef_Request_Params& params) {
|
||||
params.arguments.GetString(0, &command);
|
||||
DCHECK(!command.empty());
|
||||
|
||||
if (LowerCaseEqualsASCII(command, "getsource")) {
|
||||
if (base::LowerCaseEqualsASCII(command, "getsource")) {
|
||||
response = web_frame->contentAsMarkup().utf8();
|
||||
success = true;
|
||||
} else if (LowerCaseEqualsASCII(command, "gettext")) {
|
||||
} else if (base::LowerCaseEqualsASCII(command, "gettext")) {
|
||||
response = webkit_glue::DumpDocumentText(web_frame);
|
||||
success = true;
|
||||
} else if (web_frame->executeCommand(base::UTF8ToUTF16(command))) {
|
||||
|
Reference in New Issue
Block a user