diff options
author | Grant Gayed <ggayed> | 2005-09-19 16:00:25 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2005-09-19 16:00:25 +0000 |
commit | a33a15f8b4f49135665523b994fd843b3863f2c2 (patch) | |
tree | b0c391dd2b56f86c3fc7992f0fa5a26f1e16b841 | |
parent | 520914486a98f27577cadbf70153e62a094e46b6 (diff) | |
download | eclipse.platform.swt-a33a15f8b4f49135665523b994fd843b3863f2c2.tar.gz eclipse.platform.swt-a33a15f8b4f49135665523b994fd843b3863f2c2.tar.xz eclipse.platform.swt-a33a15f8b4f49135665523b994fd843b3863f2c2.zip |
add IIDIInternetSecurityManager to QueryInterface
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java index 3a6dc4b97b..e437cfe578 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java @@ -136,6 +136,11 @@ protected int QueryInterface(int riid, int ppvObject) { AddRef(); return COM.S_OK; } + if (COM.IsEqualGUID(guid, COM.IIDIInternetSecurityManager)) { + COM.MoveMemory(ppvObject, new int[] {iInternetSecurityManager.getAddress()}, 4); + AddRef(); + return COM.S_OK; + } if (COM.IsEqualGUID(guid, COM.IIDIOleCommandTarget)) { COM.MoveMemory(ppvObject, new int[] {iOleCommandTarget.getAddress()}, 4); AddRef(); |