зеркало из https://github.com/mozilla/gecko-dev.git
Uncomment the find component changes.
This commit is contained in:
Родитель
3cf3b9f6e4
Коммит
40cad5bf9d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче