From 77a4d1b1db052452760d1ee8f272ec8fa4e8b368 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Thu, 27 Mar 2014 16:41:49 +0000 Subject: [PATCH] Backed out changeset 8b1b90e5fd34 (bug 988863) for rooting hazard failures --- dom/base/nsDOMClassInfo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dom/base/nsDOMClassInfo.cpp b/dom/base/nsDOMClassInfo.cpp index 7ce89ad4d33a..fccf8b995f86 100644 --- a/dom/base/nsDOMClassInfo.cpp +++ b/dom/base/nsDOMClassInfo.cpp @@ -3506,9 +3506,6 @@ nsLocationSH::AddProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, return NS_ERROR_FAILURE; } - nsLocation* location = static_cast(GetNative(wrapper, obj)); - location->PreserveWrapper(location); - return NS_OK; }