Bug 1008312: Remove unused WrapNative function from nsDOMClassInfo.cpp. r=peterv

This commit is contained in:
Daniel Holbert 2014-05-12 09:29:31 -07:00
Родитель 612c364b9a
Коммит e2902a5390
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -570,14 +570,6 @@ WrapNative(JSContext *cx, nsISupports *native,
return WrapNative(cx, native, nullptr, nullptr, vp, aAllowWrapping);
}
static inline nsresult
WrapNative(JSContext *cx, nsISupports *native,
nsWrapperCache *cache, bool aAllowWrapping,
JS::MutableHandle<JS::Value> vp)
{
return WrapNative(cx, native, cache, nullptr, vp, aAllowWrapping);
}
// Helper to handle torn-down inner windows.
static inline nsresult
SetParentToWindow(nsGlobalWindow *win, JSObject **parent)