chromium 21.0.1148.0, CEF r646 (Release only)

This commit is contained in:
anthony taranto
2012-05-24 00:59:34 -07:00
parent b0ee3789a6
commit 461d39c2c0
73 changed files with 274 additions and 106 deletions
+12 -14
View File
@@ -45,24 +45,22 @@ namespace CefSharp
CefV8ValueList args;
args.push_back(arg);
if (eval->ExecuteFunctionWithContext(context, global, args,
result, exception, false))
result = eval->ExecuteFunctionWithContext(context, global, args);
if (result == nullptr)
{
if (exception)
// XXX
_exceptionMessage = "Error";
}
else
{
try
{
CefString message = exception->GetMessage();
_exceptionMessage = toClr(message);
_result = convertFromCef(result);
}
else
catch (Exception^ ex)
{
try
{
_result = convertFromCef(result);
}
catch (Exception^ ex)
{
_exceptionMessage = ex->Message;
}
_exceptionMessage = ex->Message;
}
}