mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
Apply suggestions from code review
Co-authored-by: campersau <buchholz.bastian@googlemail.com>
This commit is contained in:
@@ -26,12 +26,7 @@ namespace CefSharp.Internals
|
||||
{
|
||||
foreach (var obj in javascriptObjects)
|
||||
{
|
||||
if (cache.ContainsKey(obj.Name))
|
||||
{
|
||||
cache.Remove(obj.Name);
|
||||
}
|
||||
|
||||
cache.Add(obj.Name, obj);
|
||||
cache[obj.Name] = obj;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user