Reorder params for SetInt64, SetJsCallback and SetCefTime - they're not in a logical order

This commit is contained in:
amaitland
2015-12-02 19:20:54 +10:00
parent 6f272833fb
commit 8cd491562d
9 changed files with 33 additions and 33 deletions
@@ -16,7 +16,7 @@ namespace CefSharp
void SerializeJsObject(JavascriptObject^ jsObject, const CefRefPtr<CefListValue> &list, int index)
{
auto objList = CefListValue::Create();
SetInt64(jsObject->Id, objList, 0);
SetInt64(objList, 0, jsObject->Id);
objList->SetString(1, StringUtils::ToNative(jsObject->Name));
objList->SetString(2, StringUtils::ToNative(jsObject->JavascriptName));
@@ -25,7 +25,7 @@ namespace CefSharp
methodList->SetInt(j++, jsObject->Methods->Count);
for each (JavascriptMethod^ jsMethod in jsObject->Methods)
{
SetInt64(jsMethod->Id, methodList, j++);
SetInt64(methodList, j++, jsMethod->Id);
methodList->SetString(j++, StringUtils::ToNative(jsMethod->ManagedName));
methodList->SetString(j++, StringUtils::ToNative(jsMethod->JavascriptName));
methodList->SetInt(j++, jsMethod->ParameterCount);
@@ -37,7 +37,7 @@ namespace CefSharp
propertyList->SetInt(j++, jsObject->Properties->Count);
for each(JavascriptProperty^ jsProperty in jsObject->Properties)
{
SetInt64(jsProperty->Id, propertyList, j++);
SetInt64(propertyList, j++, jsProperty->Id);
propertyList->SetString(j++, StringUtils::ToNative(jsProperty->ManagedName));
propertyList->SetString(j++, StringUtils::ToNative(jsProperty->JavascriptName));
propertyList->SetBool(j++, jsProperty->IsComplexType);