diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-08 23:23:20 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:41:31 +0200 |
commit | fe6730c2192a27c73f80c9696a0ceeba6b9dd809 (patch) | |
tree | d1c91be64ce6b9e4f4f6b1b1dc7001b0f852b6bf /dom/bindings/nsScriptErrorWithStack.cpp | |
parent | 2e44ddb15ec960fb92e9458195041cbddc74f6ef (diff) | |
download | UXP-fe6730c2192a27c73f80c9696a0ceeba6b9dd809.tar UXP-fe6730c2192a27c73f80c9696a0ceeba6b9dd809.tar.gz UXP-fe6730c2192a27c73f80c9696a0ceeba6b9dd809.tar.lz UXP-fe6730c2192a27c73f80c9696a0ceeba6b9dd809.tar.xz UXP-fe6730c2192a27c73f80c9696a0ceeba6b9dd809.zip |
Issue #80 - Stop building non-generated dom/binding files as UNIFIED_SOURCES
Also fix deprot
Diffstat (limited to 'dom/bindings/nsScriptErrorWithStack.cpp')
-rw-r--r-- | dom/bindings/nsScriptErrorWithStack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/bindings/nsScriptErrorWithStack.cpp b/dom/bindings/nsScriptErrorWithStack.cpp index 74c00999f..0a8df38b3 100644 --- a/dom/bindings/nsScriptErrorWithStack.cpp +++ b/dom/bindings/nsScriptErrorWithStack.cpp @@ -22,7 +22,7 @@ using namespace mozilla::dom; namespace { static nsCString -FormatStackString(JSContext* cx, HandleObject aStack) { +FormatStackString(JSContext* cx, JS::HandleObject aStack) { JS::RootedString formattedStack(cx); if (!JS::BuildStackString(cx, aStack, &formattedStack)) { @@ -111,7 +111,7 @@ nsScriptErrorWithStack::ToString(nsACString& /*UTF8*/ aResult) } JSContext* cx = jsapi.cx(); - RootedObject stack(cx, mStack); + JS::RootedObject stack(cx, mStack); nsCString stackString = FormatStackString(cx, stack); nsCString combined = message + NS_LITERAL_CSTRING("\n") + stackString; aResult.Assign(combined); |