mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 614d31da (#423768)
- Fix PDF extension loading after showing the plugin placeholder (issue #2020)
This commit is contained in:
@ -10,17 +10,11 @@
|
||||
|
||||
namespace {
|
||||
|
||||
void CopyList(const base::ListValue& source,
|
||||
base::ListValue& target) {
|
||||
base::ListValue::const_iterator it = source.begin();
|
||||
for (; it != source.end(); ++it)
|
||||
target.Append((*it)->DeepCopy());
|
||||
}
|
||||
|
||||
void CopyValue(const Cef_Request_Params& source,
|
||||
Cef_Request_Params& target) {
|
||||
target.name = source.name;
|
||||
CopyList(source.arguments, target.arguments);
|
||||
auto copy = source.arguments.CreateDeepCopy();
|
||||
target.arguments.Swap(copy.get());
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user