Skip to content

Commit

Permalink
Align internal API of EmbedLiteJSON to upstream
Browse files Browse the repository at this point in the history
Commit:  b7a55db
Author:  Jan de Mooij <jdemooij@mozilla.com>
Date:    (1 year, 5 months ago) 2015-07-19 00:01:37 +0200
Subject: Bug 1184564 part 5 - Remove jsval typedef. r=jorendorff
  • Loading branch information
rainemak committed Dec 19, 2016
1 parent 5413f78 commit 245d08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embedding/embedlite/modules/EmbedLiteJSON.cpp
Expand Up @@ -9,7 +9,7 @@
#include "nsIProperty.h"
#include "EmbedLiteAppService.h"
#include "nsServiceManagerUtils.h"
#include "jsapi.h"
#include "js/Value.h"
#include "xpcprivate.h"
#include "nsJSUtils.h"
#include "nsDOMJSUtils.h"
Expand Down Expand Up @@ -61,7 +61,7 @@ EmbedLiteJSON::JSONCreator(const char16_t* aBuf, uint32_t aLen, void* aData)
}

nsresult
JSValToVariant(JSContext* cx, jsval& propval, nsIWritableVariant* aVariant)
JSValToVariant(JSContext* cx, JS::Value& propval, nsIWritableVariant* aVariant)
{
#if 0
if (propval.isBoolean()) {
Expand Down

0 comments on commit 245d08e

Please sign in to comment.