mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Apply suggestions from code review
Co-authored-by: campersau <buchholz.bastian@googlemail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user