From 544edc851d3636db1825e1c8105200f0104cb26f Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Wed, 28 Apr 2010 10:18:46 +0200 Subject: [PATCH] Backed out changeset ff971b92f74c --- content/canvas/src/NativeJSContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/canvas/src/NativeJSContext.cpp b/content/canvas/src/NativeJSContext.cpp index 92c6f6cfbd20..306a4f72e7f7 100644 --- a/content/canvas/src/NativeJSContext.cpp +++ b/content/canvas/src/NativeJSContext.cpp @@ -9,7 +9,7 @@ PRBool NativeJSContext::AddGCRoot(void *aPtr, const char *aName) { if (!sJSScriptRuntime) { - CallGetService("@mozilla.org/js/xpc/RuntimeService;1", + nsresult rv = CallGetService("@mozilla.org/js/xpc/RuntimeService;1", &sJSRuntimeService); NS_ENSURE_SUCCESS(rv, PR_FALSE); NS_ABORT_IF_FALSE(sJSRuntimeService, "CallGetService succeeded but returned a null pointer?");