mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 9cedf753 (#418732)
- Simplify usage of OnBeforePluginLoad (issue #2015) - Switch crash reporting from crashpad to breakpad on Windows and OS X. Adds a new chrome_elf.dll dependency on Windows (issue #1995) - Remove CefTextfield::GetPlaceholderTextColor() method which is no longer supported by Chromium.
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include "base/memory/ptr_util.h"
|
||||
|
||||
// CefValueImpl implementation.
|
||||
|
||||
// static
|
||||
@ -1373,7 +1375,7 @@ bool CefListValueImpl::RemoveInternal(int index) {
|
||||
void CefListValueImpl::SetInternal(int index, base::Value* value) {
|
||||
DCHECK(value);
|
||||
if (RemoveInternal(index))
|
||||
mutable_value()->Insert(index, value);
|
||||
mutable_value()->Insert(index, base::WrapUnique(value));
|
||||
else
|
||||
mutable_value()->Set(index, value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user