| Index: ui/base/x/selection_utils.cc
|
| diff --git a/ui/base/x/selection_utils.cc b/ui/base/x/selection_utils.cc
|
| index 4696b0047adc6e77566c63879084ce8c4beee8e1..a1289867dee6c9d61813a708009f41380571d108 100644
|
| --- a/ui/base/x/selection_utils.cc
|
| +++ b/ui/base/x/selection_utils.cc
|
| @@ -104,6 +104,7 @@ SelectionFormatMap::~SelectionFormatMap() {}
|
| void SelectionFormatMap::Insert(
|
| ::Atom atom,
|
| const scoped_refptr<base::RefCountedMemory>& item) {
|
| + data_.erase(atom);
|
| data_.insert(std::make_pair(atom, item));
|
| }
|
|
|
|
|