Navigation Menu

Skip to content

Commit

Permalink
Fixed js stack assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Jan 7, 2014
1 parent 32b74f2 commit 8e5e6f5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions embedding/embedlite/modules/EmbedLiteJSON.cpp
Expand Up @@ -190,11 +190,6 @@ static bool SetPropFromVariant(nsIProperty* aProp, JSContext* aCx, JSObject* aOb
aProp->GetValue(getter_AddRefs(aVariant));
aProp->GetName(name);

XPCCallContext ccx(NATIVE_CALLER, aCx);
if (!ccx.IsValid()) {
return false;
}

if (!xpc_qsVariantToJsval(aCx, aVariant, &rval)) {
NS_ERROR("Failed to convert nsIVariant to jsval");
return false;
Expand Down

0 comments on commit 8e5e6f5

Please sign in to comment.