Reviewed by Darin.
[WebKit-https.git] / WebKit / win / WebSecurityOrigin.cpp
index 9c22ce51566c4675dedf490676819b1d150e9ece..3c3d05299edf3e476e8c3c0be2f63e6e270a4a0d 100644 (file)
@@ -63,6 +63,8 @@ HRESULT STDMETHODCALLTYPE WebSecurityOrigin::QueryInterface(REFIID riid, void**
         *ppvObject = static_cast<IWebSecurityOrigin*>(this);\r
     else if (IsEqualGUID(riid, IID_IWebSecurityOrigin))\r
         *ppvObject = static_cast<IWebSecurityOrigin*>(this);\r
+    else if (IsEqualGUID(riid, __uuidof(this)))\r
+        *ppvObject = this;\r
     else\r
         return E_NOINTERFACE;\r
 \r