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:
@@ -45,6 +45,7 @@
|
||||
#include "nsIURI.h"
|
||||
#include "nsIHistoryEntry.h"
|
||||
#include "nsString.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
wsCopySelectionEvent::wsCopySelectionEvent(WebShellInitContext *yourInitContext) :
|
||||
nsActionEvent(),
|
||||
@@ -251,7 +252,7 @@ wsGetURLEvent::handleEvent ()
|
||||
if (NS_FAILED(rv)) {
|
||||
return result;
|
||||
}
|
||||
currentURL = (char *) urlSpecString.GetBufferHandle();
|
||||
currentURL = ToNewCString(urlSpecString);
|
||||
|
||||
result = (void *) currentURL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user