mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Added nsISupports back in as the super class of nsViewerApp and
NS_INIT_REFCNT in the constructor
This commit is contained in:
parent
c3c8bb57f8
commit
6d565076b4
@ -73,6 +73,8 @@ static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
|
||||
nsViewerApp::nsViewerApp()
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
char * text = PR_GetEnv("NGLAYOUT_HOME");
|
||||
mStartURL = text ? text : "resource:/res/samples/test0.html";
|
||||
mDelay = 1;
|
||||
|
@ -29,7 +29,7 @@ class nsWebCrawler;
|
||||
class nsBrowserWindow;
|
||||
class nsIBrowserWindow;
|
||||
|
||||
class nsViewerApp : public nsDispatchListener
|
||||
class nsViewerApp : public nsISupports, public nsDispatchListener
|
||||
{
|
||||
public:
|
||||
void* operator new(size_t sz) {
|
||||
|
Loading…
Reference in New Issue
Block a user