summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/sql/SQLiteDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/sql/SQLiteDatabase.cpp')
-rw-r--r--WebCore/platform/sql/SQLiteDatabase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/platform/sql/SQLiteDatabase.cpp b/WebCore/platform/sql/SQLiteDatabase.cpp
index 7768f66..702cf02 100644
--- a/WebCore/platform/sql/SQLiteDatabase.cpp
+++ b/WebCore/platform/sql/SQLiteDatabase.cpp
@@ -27,8 +27,8 @@
#include "config.h"
#include "SQLiteDatabase.h"
+#include "DatabaseAuthorizer.h"
#include "Logging.h"
-#include "SQLiteAuthorizer.h"
#include "SQLiteStatement.h"
#include <sqlite3.h>
@@ -243,7 +243,7 @@ const char* SQLiteDatabase::lastErrorMsg()
int SQLiteDatabase::authorizerFunction(void* userData, int actionCode, const char* parameter1, const char* parameter2, const char* /*databaseName*/, const char* /*trigger_or_view*/)
{
- SQLiteAuthorizer* auth = static_cast<SQLiteAuthorizer*>(userData);
+ DatabaseAuthorizer* auth = static_cast<DatabaseAuthorizer*>(userData);
ASSERT(auth);
switch (actionCode) {
@@ -317,7 +317,7 @@ int SQLiteDatabase::authorizerFunction(void* userData, int actionCode, const cha
}
}
-void SQLiteDatabase::setAuthorizer(PassRefPtr<SQLiteAuthorizer> auth)
+void SQLiteDatabase::setAuthorizer(PassRefPtr<DatabaseAuthorizer> auth)
{
if (!m_db) {
LOG_ERROR("Attempt to set an authorizer on a non-open SQL database");