From fdc5c6dfde1f188b0ad9559e2cb52904bb0773d8 Mon Sep 17 00:00:00 2001 From: Peter Van der Beken Date: Mon, 31 May 2010 21:40:24 +0200 Subject: [PATCH] Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3f - use fast unwrapping for nsIDOM3Text_. r=jst. --- js/src/xpconnect/src/dom_quickstubs.qsconf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/xpconnect/src/dom_quickstubs.qsconf b/js/src/xpconnect/src/dom_quickstubs.qsconf index 6d3951263dd..ca9e9cb064d 100644 --- a/js/src/xpconnect/src/dom_quickstubs.qsconf +++ b/js/src/xpconnect/src/dom_quickstubs.qsconf @@ -713,6 +713,9 @@ customMethodCalls = { 'code': ' PRBool result = self->MozMatchesSelector(arg0);', 'canFail': False }, + 'nsIDOM3Text_': { + 'thisType': 'nsGenericTextNode' + }, 'nsIDOM3Text_IsElementContentWhitespace': { 'thisType': 'nsGenericTextNode', 'code': ' PRBool result = self->IsElementContentWhitespace();', @@ -723,9 +726,6 @@ customMethodCalls = { 'code': ' nsIContent* result = ' 'self->ReplaceWholeText(PromiseFlatString(arg0), &rv);' }, - 'nsIDOM3Text_WholeText': { - 'thisType': 'nsGenericTextNode' - }, 'nsIDOMNodeSelector_QuerySelector': { 'thisType': 'nsINode', 'code': ' nsIContent* result = '