summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebHTMLRepresentation.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/win/WebHTMLRepresentation.cpp
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz
external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKit/win/WebHTMLRepresentation.cpp')
-rw-r--r--WebKit/win/WebHTMLRepresentation.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebKit/win/WebHTMLRepresentation.cpp b/WebKit/win/WebHTMLRepresentation.cpp
index 106afd3..5e5d56b 100644
--- a/WebKit/win/WebHTMLRepresentation.cpp
+++ b/WebKit/win/WebHTMLRepresentation.cpp
@@ -27,7 +27,7 @@
#include "WebKitDLL.h"
#include "WebHTMLRepresentation.h"
-#include "DOMCore.h"
+#include "WebKit.h"
#include "WebFrame.h"
#include "WebKitStatisticsPrivate.h"
#pragma warning(push, 0)
@@ -46,6 +46,7 @@ WebHTMLRepresentation::WebHTMLRepresentation()
{
WebHTMLRepresentationCount++;
gClassCount++;
+ gClassNameCount.add("WebHTMLRepresentation");
}
WebHTMLRepresentation::~WebHTMLRepresentation()
@@ -57,6 +58,7 @@ WebHTMLRepresentation::~WebHTMLRepresentation()
WebHTMLRepresentationCount--;
gClassCount--;
+ gClassNameCount.remove("WebHTMLRepresentation");
}
WebHTMLRepresentation* WebHTMLRepresentation::createInstance(WebFrame* frame)
@@ -152,7 +154,7 @@ HRESULT STDMETHODCALLTYPE WebHTMLRepresentation::elementDoesAutoComplete(
/* [in] */ IDOMElement* element,
/* [retval][out] */ BOOL* result)
{
- bool doesAutoComplete;
+ BOOL doesAutoComplete;
HRESULT hr = m_frame->elementDoesAutoComplete(element, &doesAutoComplete);
*result = doesAutoComplete ? TRUE : FALSE;
return hr;