Speculative fix to get Drosera working.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2007 02:47:12 +0000 (02:47 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2007 02:47:12 +0000 (02:47 +0000)
        * COMEnumVariant.h:
        (::Next):
        Update the number of elements fetched correctly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/win/COMEnumVariant.h
WebKit/win/ChangeLog

index 4e46bf20634594efd4e1b98b6d370f3b29cd9701..c905191319f2c4e7042e65c53ddd3625732927b6 100644 (file)
@@ -182,6 +182,8 @@ HRESULT STDMETHODCALLTYPE COMEnumVariant<ContainerType>::Next(ULONG celt, VARIAN
 \r
         COMVariantSetter<ContainerType::ValueType>::setVariant(&rgVar[i], *m_currentPos);\r
         ++m_currentPos;\r
+        if (pCeltFetched)\r
+            *pCeltFetched++;\r
     }\r
 \r
     return S_OK;\r
index e88d6170a887a7e1f488114cd4643cda658d5caf..d2ff3e238df0d24fc0cd9f12cec3962317741631 100644 (file)
@@ -1,3 +1,11 @@
+2007-11-27  Anders Carlsson  <andersca@apple.com>
+
+        Speculative fix to get Drosera working.
+        
+        * COMEnumVariant.h:
+        (::Next):
+        Update the number of elements fetched correctly.
+        
 2007-11-27  Anders Carlsson <andersca@apple.com>
 
         Reviewed by Adam.