Uncomment the find component changes.

This commit is contained in:
edburns%acm.org 2002-12-20 22:01:44 +00:00
Родитель 3cf3b9f6e4
Коммит 40cad5bf9d
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -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;