diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/win/WebHTMLRepresentation.cpp | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_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.cpp | 6 |
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; |