From dc7011c6cf332a7e57364ebc37def7084ece9f2c Mon Sep 17 00:00:00 2001 From: Peter Van der Beken Date: Tue, 2 Sep 2014 14:17:43 +0200 Subject: [PATCH] Bug 1059134 - ResolvePrototypeOrConstructor should take bool&, not bool, for cacheOnHolder. r=bz. --HG-- extra : rebase_source : 063b8cd96dc8e5a7d7f73f292554ce11520c313a --- dom/bindings/BindingUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/bindings/BindingUtils.cpp b/dom/bindings/BindingUtils.cpp index df77c5cd37d6..d42a4a54f500 100644 --- a/dom/bindings/BindingUtils.cpp +++ b/dom/bindings/BindingUtils.cpp @@ -1252,7 +1252,7 @@ ResolvePrototypeOrConstructor(JSContext* cx, JS::Handle wrapper, JS::Handle obj, size_t protoAndIfaceCacheIndex, unsigned attrs, JS::MutableHandle desc, - bool cacheOnHolder) + bool& cacheOnHolder) { JS::Rooted global(cx, js::GetGlobalForObjectCrossCompartment(obj)); {