summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebActionPropertyBag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebActionPropertyBag.cpp')
-rw-r--r--WebKit/win/WebActionPropertyBag.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKit/win/WebActionPropertyBag.cpp b/WebKit/win/WebActionPropertyBag.cpp
index c863fe7..41f9ccc 100644
--- a/WebKit/win/WebActionPropertyBag.cpp
+++ b/WebKit/win/WebActionPropertyBag.cpp
@@ -26,7 +26,8 @@
#include "config.h"
#include "WebKitDLL.h"
-#include "WebKit.h"
+#include "IWebView.h"
+#include "IWebPolicyDelegate.h"
#include "WebActionPropertyBag.h"
#include "WebElementPropertyBag.h"
#include "COMPtr.h"
@@ -154,6 +155,6 @@ HRESULT STDMETHODCALLTYPE WebActionPropertyBag::Write(LPCOLESTR pszPropName, VAR
{
if (!pszPropName || !pVar)
return E_POINTER;
-
+ VariantClear(pVar);
return E_FAIL;
}