Apply suggestions from code review

Co-authored-by: campersau <buchholz.bastian@googlemail.com>
This commit is contained in:
Alex Maitland
2023-04-21 15:27:57 +10:00
parent 34a5fb50a9
commit d613e2c232
2 changed files with 2 additions and 12 deletions
@@ -29,12 +29,7 @@ namespace CefSharp.Internals
foreach (var obj in javascriptObjects)
{
if (dict.ContainsKey(obj.Name))
{
dict.Remove(obj.Name);
}
dict.Add(obj.Name, obj);
dict[obj.Name] = obj;
}
}