Speculative fix to get Drosera working.
[WebKit-https.git] / WebKit / win / COMEnumVariant.h
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