From 2df1c5ef16e67a3965f4ec550c6af2401dba805e Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 16 Jan 2013 08:11:44 -0500 Subject: [PATCH] Forward declare JSContext as struct in the profiler code in order to avoid compiler warnings, no bug --- tools/profiler/JSObjectBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/JSObjectBuilder.h b/tools/profiler/JSObjectBuilder.h index d63ef5ef328c..222a6aa36d91 100644 --- a/tools/profiler/JSObjectBuilder.h +++ b/tools/profiler/JSObjectBuilder.h @@ -10,7 +10,7 @@ class JSCustomObject; class JSCustomObjectBuilder; -class JSContext; +struct JSContext; class nsAString; /* this is handy wrapper around JSAPI to make it more pleasant to use.