Webclient compiles and runs with MOZILLA_0_9_9_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@119082 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "nsIHistoryEntry.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsString.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
/*
|
||||
* wsCanBackEvent
|
||||
@@ -257,7 +258,7 @@ wsGetURLForIndexEvent::handleEvent ()
|
||||
nsresult rv;
|
||||
nsISHistory* sHistory;
|
||||
rv = mInitContext->webNavigation->GetSessionHistory(&sHistory);
|
||||
const char *indexURL = nsnull;
|
||||
char *indexURL = nsnull;
|
||||
|
||||
nsIHistoryEntry * Entry;
|
||||
rv = sHistory->GetEntryAtIndex(mHistoryIndex, PR_FALSE, &Entry);
|
||||
@@ -279,7 +280,7 @@ wsGetURLForIndexEvent::handleEvent ()
|
||||
return result;
|
||||
}
|
||||
|
||||
indexURL = urlSpecString.get();
|
||||
indexURL = ToNewCString(urlSpecString);
|
||||
result = (void *) indexURL;
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user