зеркало из https://github.com/mozilla/pjs.git
NECKO if defs
This commit is contained in:
Родитель
c636c999c0
Коммит
38afdd857d
|
@ -49,10 +49,11 @@
|
|||
|
||||
#include "nsEscape.h"
|
||||
|
||||
#include "nsIPostToServer.h"
|
||||
#include "nsIURL.h"
|
||||
#ifdef NECKO
|
||||
#include "nsNeckoUtil.h"
|
||||
#else
|
||||
#include "nsIPostToServer.h"
|
||||
#endif // NECKO
|
||||
#include "nsIBuffer.h"
|
||||
#include "nsIInputStream.h"
|
||||
|
@ -953,6 +954,7 @@ SearchDataSource::DoSearch(nsIRDFResource *source, nsIRDFResource *engine, nsStr
|
|||
#endif // NECKO
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
#ifndef NECKO // XXX NECKO this is crucial to repair
|
||||
if (method.EqualsIgnoreCase("post"))
|
||||
{
|
||||
// HTTP Post method support
|
||||
|
@ -973,6 +975,7 @@ SearchDataSource::DoSearch(nsIRDFResource *source, nsIRDFResource *engine, nsStr
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // NECKO
|
||||
|
||||
SearchDataSourceCallback *callback = new SearchDataSourceCallback(mInner, source, engine);
|
||||
if (nsnull != callback)
|
||||
|
|
|
@ -60,8 +60,9 @@
|
|||
#include "nsIURL.h"
|
||||
#ifdef NECKO
|
||||
#include "nsNeckoUtil.h"
|
||||
#endif // NECKO
|
||||
#else
|
||||
#include "nsIURLGroup.h"
|
||||
#endif // NECKO
|
||||
#include "nsIViewManager.h"
|
||||
#include "nsIXULContentSink.h"
|
||||
#include "nsLayoutCID.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче