summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/WebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/wx/WebView.cpp')
-rw-r--r--WebKit/wx/WebView.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/WebKit/wx/WebView.cpp b/WebKit/wx/WebView.cpp
index d9a22cb..a2897b5 100644
--- a/WebKit/wx/WebView.cpp
+++ b/WebKit/wx/WebView.cpp
@@ -74,7 +74,7 @@
#include <wtf/text/CString.h>
#if ENABLE(DATABASE)
-#include "Database.h"
+#include "AbstractDatabase.h"
#include "DatabaseTracker.h"
#endif
@@ -258,10 +258,8 @@ wxWebViewCachePolicy wxWebView::GetCachePolicy()
}
#if OS(DARWIN)
-// prototype - function is in WebKitSystemInterface.mm
-extern "C" {
+// prototype - function is in WebSystemInterface.mm
void InitWebCoreSystemInterface(void);
-}
#endif
BEGIN_EVENT_TABLE(wxWebView, wxWindow)
@@ -995,7 +993,7 @@ wxString wxWebView::GetDatabaseDirectory()
void wxWebView::SetDatabasesEnabled(bool enabled)
{
#if ENABLE(DATABASE)
- WebCore::Database::setIsAvailable(enabled);
+ WebCore::AbstractDatabase::setIsAvailable(enabled);
#endif
}
@@ -1003,7 +1001,7 @@ void wxWebView::SetDatabasesEnabled(bool enabled)
bool wxWebView::AreDatabasesEnabled()
{
#if ENABLE(DATABASE)
- return WebCore::Database::isAvailable();
+ return WebCore::AbstractDatabase::isAvailable();
#endif
return false;
}