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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user