зеркало из https://github.com/mozilla/pjs.git
Part 2 of fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner.
This commit is contained in:
Родитель
189211c9d7
Коммит
ec0b5b5db1
|
@ -5509,7 +5509,7 @@ private:
|
||||||
|
|
||||||
static PRBool IsConstructable(const nsDOMClassInfoData *aData)
|
static PRBool IsConstructable(const nsDOMClassInfoData *aData)
|
||||||
{
|
{
|
||||||
if (IS_EXTERNAL(aData)) {
|
if (IS_EXTERNAL(aData->mCachedClassInfo)) {
|
||||||
const nsExternalDOMClassInfoData* data =
|
const nsExternalDOMClassInfoData* data =
|
||||||
static_cast<const nsExternalDOMClassInfoData*>(aData);
|
static_cast<const nsExternalDOMClassInfoData*>(aData);
|
||||||
return data->mConstructorCID != nsnull;
|
return data->mConstructorCID != nsnull;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче