|
1 From dc1292fc8c2b9da900ebcac953120eaffd0d329e Mon Sep 17 00:00:00 2001 |
|
2 From: George Wright <gwright@mozilla.com> |
|
3 Date: Wed, 23 May 2012 14:52:36 -0400 |
|
4 Subject: [PATCH 10/10] Bug 755869 - [13] Re-apply bug 750733 - Use |
|
5 handles in API object hooks where possible |
|
6 r=mattwoodrow |
|
7 |
|
8 --- |
|
9 gfx/skia/src/xml/SkJS.cpp | 4 ++-- |
|
10 1 files changed, 2 insertions(+), 2 deletions(-) |
|
11 |
|
12 diff --git a/gfx/skia/src/xml/SkJS.cpp b/gfx/skia/src/xml/SkJS.cpp |
|
13 index f2e7a83..b2717d7 100644 |
|
14 --- a/gfx/skia/src/xml/SkJS.cpp |
|
15 +++ b/gfx/skia/src/xml/SkJS.cpp |
|
16 @@ -74,7 +74,7 @@ extern "C" { |
|
17 #endif |
|
18 |
|
19 static bool |
|
20 -global_enumerate(JSContext *cx, JSObject *obj) |
|
21 +global_enumerate(JSContext *cx, JSHandleObject *obj) |
|
22 { |
|
23 #ifdef LAZY_STANDARD_CLASSES |
|
24 return JS_EnumerateStandardClasses(cx, obj); |
|
25 @@ -84,7 +84,7 @@ global_enumerate(JSContext *cx, JSObject *obj) |
|
26 } |
|
27 |
|
28 static bool |
|
29 -global_resolve(JSContext *cx, JSObject *obj, jsval id, uintN flags, JSObject **objp) |
|
30 +global_resolve(JSContext *cx, JSHandleObject obj, JSHandleId id, unsigned flags, JSObject **objp) |
|
31 { |
|
32 #ifdef LAZY_STANDARD_CLASSES |
|
33 if ((flags & JSRESOLVE_ASSIGNING) == 0) { |
|
34 -- |
|
35 1.7.5.4 |
|
36 |