gfx/skia/patches/archive/0010-Bug-689069-ARM-Opts.patch

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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
     8 ---
     9  gfx/skia/src/xml/SkJS.cpp |    4 ++--
    10  1 files changed, 2 insertions(+), 2 deletions(-)
    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
    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  }
    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

mercurial