diff --git a/xpcom/glue/nsClassHashtable.h b/xpcom/glue/nsClassHashtable.h index b995037cbfee..0687f7437d3b 100644 --- a/xpcom/glue/nsClassHashtable.h +++ b/xpcom/glue/nsClassHashtable.h @@ -125,8 +125,7 @@ template T* nsClassHashtable::Get(KeyType aKey) const { - typename nsBaseHashtable,T*>::EntryType* ent = - GetEntry(aKey); + typename base_type::EntryType* ent = this->GetEntry(aKey); if (!ent) return NULL; diff --git a/xpcom/glue/nsInterfaceHashtable.h b/xpcom/glue/nsInterfaceHashtable.h index f00cf9324186..5e9617b454d1 100644 --- a/xpcom/glue/nsInterfaceHashtable.h +++ b/xpcom/glue/nsInterfaceHashtable.h @@ -145,8 +145,7 @@ template already_AddRefed nsInterfaceHashtable::Get(KeyType aKey) const { - typename nsBaseHashtable, Interface*>::EntryType* ent = - GetEntry(aKey); + typename base_type::EntryType* ent = this->GetEntry(aKey); if (!ent) return NULL;