Index: Source/modules/webdatabase/DOMWindowWebDatabase.cpp |
diff --git a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp |
index df93f7c834971d23ea7b68affdf132fc28bfe49d..c58c2b7863db1123084e08300c6b61c422bccc14 100644 |
--- a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp |
+++ b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp |
@@ -29,7 +29,6 @@ |
#include "modules/webdatabase/DOMWindowWebDatabase.h" |
#include "RuntimeEnabledFeatures.h" |
-#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
@@ -54,9 +53,9 @@ PassRefPtr<Database> DOMWindowWebDatabase::openDatabase(DOMWindow* window, const |
database = dbManager.openDatabase(window->document(), name, version, displayName, estimatedSize, creationCallback, error, errorMessage); |
ASSERT(database || error != DatabaseError::None); |
if (error != DatabaseError::None) |
- DatabaseManager::throwExceptionForDatabaseError("openDatabase", "Window", error, errorMessage, exceptionState); |
+ DatabaseManager::throwExceptionForDatabaseError(error, errorMessage, exceptionState); |
} else { |
- exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("openDatabase", "Window", "Access to the WebDatabase API is denied in this context.")); |
+ exceptionState.throwSecurityError("Access to the WebDatabase API is denied in this context."); |
} |
return database; |