зеркало из https://github.com/mozilla/pjs.git
r=rpotts. The usage of the stream converter service has changed from it's original intent. we can now call FindConverter() without having previously registered a converter, removing the assert that was yelling at us
This commit is contained in:
Родитель
b9474fea69
Коммит
5cce048ec8
|
@ -346,7 +346,6 @@ nsStreamConverterService::FindConverter(const char *aProgID, nsCStringArray **aE
|
||||||
if (!source) return NS_ERROR_OUT_OF_MEMORY;
|
if (!source) return NS_ERROR_OUT_OF_MEMORY;
|
||||||
|
|
||||||
SCTableData *data = (SCTableData*)lBFSTable.Get(source);
|
SCTableData *data = (SCTableData*)lBFSTable.Get(source);
|
||||||
NS_ASSERTION(data, "trying to convert a from type that hasn't been registered.");
|
|
||||||
if (!data) return NS_ERROR_FAILURE;
|
if (!data) return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
BFSState *state = (BFSState*)data->data;
|
BFSState *state = (BFSState*)data->data;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче