Necko ifdefs for layout and rdf.

git-svn-id: svn://10.0.0.236/trunk@37005 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-06-26 06:36:26 +00:00
parent 76a4a480fc
commit fdf6c938bb
46 changed files with 888 additions and 621 deletions

View File

@@ -35,11 +35,7 @@
#include "nsIDocument.h"
#include "nsIURL.h"
#ifdef NECKO
#include "nsIIOService.h"
#include "nsIURL.h"
#include "nsIServiceManager.h"
#include "nsNeckoUtil.h"
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#else
#include "nsIURLGroup.h"
#endif // NECKO
@@ -616,12 +612,10 @@ nsObjectFrame::Reflow(nsIPresContext& aPresContext,
}
}
#ifdef NECKO
char* url;
#else
const char* url;
#ifndef NECKO // unused urlxxx?
const char* urlxxx;
(void)baseURL->GetSpec(&urlxxx);
#endif
(void)baseURL->GetSpec(&url);
// Create an absolute URL
if(classid != JAVA_CLASS_ID) {