Uncomment the find component changes.

git-svn-id: svn://10.0.0.236/trunk@135528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2002-12-20 22:01:44 +00:00
parent de624a4d14
commit 34f27d9ded

View File

@@ -45,6 +45,7 @@
#include "nsIHistoryEntry.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsIFindComponent.h"
wsCopySelectionEvent::wsCopySelectionEvent(WebShellInitContext *yourInitContext) :
nsActionEvent(),
@@ -101,7 +102,6 @@ wsFindEvent::handleEvent ()
JNIEnv *env = (JNIEnv *) JNU_GetEnv(gVm, JNI_VERSION);
if (mInitContext) {
#if 0
//First get the FindComponent object
nsCOMPtr<nsIFindComponent> findComponent;
findComponent = do_GetService(NS_IFINDCOMPONENT_CONTRACTID, &rv);
@@ -195,10 +195,6 @@ wsFindEvent::handleEvent ()
}
// Save in initContext struct for future findNextInPage calls
mInitContext->searchContext = srchcontext;
#else
return (void *) rv;
#endif
}
return result;