Bug 1276879 followup - Use JS::RootedValue instead of RootedValue to fix non-unified build. r=bustage
authorJan de Mooij <jdemooij@mozilla.com>
Sat, 04 Jun 2016 17:54:22 +0200
changeset 339533 b77e05bf69d596a0048b449fa90e35bb9f80342e
parent 339532 82bf2f128bfbc05c495e6fb77ecf287bf41a8458
child 339534 1f056b981b1f7e6e449cf1e67ee55481e569cdc7
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1276879
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1276879 followup - Use JS::RootedValue instead of RootedValue to fix non-unified build. r=bustage
js/src/jsapi-tests/testUncaughtSymbol.cpp
--- a/js/src/jsapi-tests/testUncaughtSymbol.cpp
+++ b/js/src/jsapi-tests/testUncaughtSymbol.cpp
@@ -28,17 +28,17 @@ BEGIN_TEST(testUncaughtSymbol)
     CHECK(GetSymbolExceptionType(cx) == SYMBOL_EMPTY);
 
     return true;
 }
 
 static SymbolExceptionType
 GetSymbolExceptionType(JSContext* cx)
 {
-    RootedValue exn(cx);
+    JS::RootedValue exn(cx);
     MOZ_RELEASE_ASSERT(JS_GetPendingException(cx, &exn));
     MOZ_RELEASE_ASSERT(exn.isSymbol());
     JS_ClearPendingException(cx);
 
     js::ErrorReport report(cx);
     MOZ_RELEASE_ASSERT(report.init(cx, exn, js::ErrorReport::WithSideEffects));
 
     if (strcmp(report.message(), "uncaught exception: Symbol(Symbol.iterator)") == 0)