Revery name change for TryGetMethod - seems slightly inconsistent so will need to be fixed.

This commit is contained in:
amaitland
2014-08-28 19:40:01 +10:00
parent 2aa87c2034
commit da3412969d
@@ -52,7 +52,7 @@ namespace CefSharp.Internals
return false;
}
var method = obj.Methods.FirstOrDefault(p => p.JavascriptName == name);
var method = obj.Methods.FirstOrDefault(p => p.ManagedName == name);
if (method == null)
{
throw new InvalidOperationException(string.Format("Method {0} not found on Object of Type {1}", name, obj.Value.GetType()));